var name = "",
person = {
name : "",
getName : function(){
return function(){
return this.name;
};
}
};
console.log(person.getName()()); //
Why did the final print of "Xiao Ming" instead of "Xiao Hong"?
I don"t quite understand the meaning of the last two parentheses in the sentence person.getName () ().
/ / novice do not spray, thank you