会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
凡图
博客园
首页
新随笔
联系
订阅
管理
2014年8月20日
JS的this本质
摘要: 1、this究竟为何物?1.1全局上下文(Global context)在全局运行上下文中(在任何函数体外部),this 指代全局对象window,无论是否在严格模式下。 alert(this.document === document); // true alert(this === window...
阅读全文
posted @ 2014-08-20 10:31 CTRA王大大
阅读(405)
评论(0)
推荐(0)
编辑
公告