会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
心悠魂然
博客园
首页
新随笔
联系
订阅
管理
2020年1月2日
严格模式的this
摘要: 在严格模式下,this将保持他进入执行环境时的值: function mf(){ "use strict"; // 这里是严格模式 return this; } mf() undefined; // true window.mf() window; //true 在严格模式下,如果 this 没有被
阅读全文
posted @ 2020-01-02 13:58 你风致
阅读(320)
评论(0)
推荐(0)
编辑
公告