JAVASCRIPT中的严格模式

严格模式&非严格模式

严格模式和非严格模式之间的区别如下(前三条尤为重要)

var hasStrictMode = (function(){"use strict"; return this === undefined}());