varname="小明",person={name:"小红",getName:function(){ returnfunction(){ returnthis.name; };}};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
person={name:"小红",getName:function(){ returnfunction(){ returnthis.name; };}};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
name:"小红",getName:function(){ returnfunction(){ returnthis.name; };}};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
getName:function(){ returnfunction(){ returnthis.name; };}};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
returnfunction(){ returnthis.name; };}};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
returnthis.name; };}};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
};}};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
}};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
};console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
console.log(person.getName()());//小明为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
为什么最后打印出来的“小明”而不是“小红”?看不太懂person.getName()()这句后面两个括号的意思。//新手勿喷,谢谢
相关分类