摘要: 1.块级函数 "use strict"; if (true) { function f() { } // 语法错误 } es5中严格模式下禁止声明块级函数,而在es6的严格模式中可以声明块级函数,并可以在块级作用 'use strict' var b= true; if(b){ function t 阅读全文
posted @ 2018-08-19 11:02 我是格鲁特 阅读(1385) 评论(0) 推荐(0)