摘要: 在严格模式下,this将保持他进入执行环境时的值: function mf(){ "use strict"; // 这里是严格模式 return this; } mf() undefined; // true window.mf() window; //true 在严格模式下,如果 this 没有被 阅读全文
posted @ 2020-01-02 13:58 你风致 阅读(320) 评论(0) 推荐(0) 编辑