var name = "The Window"; var object = { name : "My Object", getNameFunc : function(){ return function(){ return this.name; }; } }; alert(object.getNameFunc()());誰(shuí)能幫我講講為什么嗎?
js閉包閉包閉包
紅糖糍粑
2019-03-13 14:15:59