var name = "The Window"; var object = { name : "My Object", getNameFunc : function(){ return function(){ return this.name; }; } }; alert(object.getNameFunc()());//The window
作者: Freya0_0
链接:http://www.imooc.com/article/14794
来源:慕课网
成长前端初学者
慕的地6079101
慕桂英2348745
随时随地看视频慕课网APP
相关分类