摘要: this对象在运行时基于函数的执行环境进行绑定。 全局函数中,this等于window var name='san'; var obj = { name:'yu', getName:function(){ return this.name } } obj.getName();//普通调用 yu (o 阅读全文
posted @ 2017-12-22 11:43 树叶———— 阅读(132) 评论(0) 推荐(0) 编辑