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
相關文章
相關標籤/搜索