摘要:解析 : 因为 等价于 在非严格模式中,未声明变量默认为全局变量,可以在全局环境中通过this访问。 严格模式取消了默认this全局变量,因此在函数foo外访问会报错。
阅读全文
posted @ 2017-09-18 14:53
posted @ 2017-09-18 14:53
posted @ 2017-09-08 21:08
posted @ 2017-09-08 15:19
posted @ 2017-09-08 14:50
posted @ 2017-09-06 11:41
posted @ 2017-09-06 10:58