Javascript 的严格模式 use strict

严格模式

        "use strict";
        x = 5;

这时浏览器会报错。

原文地址:https://www.cnblogs.com/F4NNIU/p/8433855.html