摘要: 场景1:全局环境下的this 这种情况相对简单直接,函数在浏览器全局环境中被简单调用,非严格模式下this指向window;在 use strict指明严格模式下就是undefined; function f1 ( ) { console.log (this); } function f2 ( ) 阅读全文
posted @ 2020-04-17 00:07 翠花菇凉 阅读(275) 评论(1) 推荐(0) 编辑