JSLint忽然报告:使用“使用严格”功能形式 - JSLint is suddenly reporting: Use the function form of “use strict”

问题:

I include the statement: 我包括如下声明: 函数

"use strict";

at the beginning of most of my Javascript files. 在我大多数Javascript文件的开头。 this

JSLint has never before warned about this. JSLint从未对此发出警告。 But now it is, saying: 但如今是这样说: spa

Use the function form of "use strict". 使用“使用严格”的功能形式。 .net

Does anyone know what the "function form" would be? 有谁知道“函数形式”是什么? code


解决方案:

参考一: https://stackoom.com/question/IitS/JSLint忽然报告-使用-使用严格-功能形式
参考二: https://oldbug.net/q/IitS/JSLint-is-suddenly-reporting-Use-the-function-form-of-use-strict
相关文章
相关标签/搜索