JavaScript严格模式("use strict";) "use strict";是在ECMAScript5中提出的 JavaScript 严格模式(strict mode)即在严格的条件下运行 "use strict" 的目的是指定代码在严格条件下执行 严格模式下你不能使用未声明的变量