会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
树叶
少壮不努力,老大写BUG。
博客园
首页
新随笔
联系
管理
订阅
2017年12月22日
this小栗子(高程)
摘要: 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)
编辑
公告