ES5 严格模式都做了哪些事? 严格模式下禁止自动创建全局变量 来看下面的例子 12 a = 3;window.a // 3 123 'use strict'a = 3;// ReferenceError a is not definedwindow.a // 赞微海报分享
近期评论