javascript - JSLint is suddenly reporting: Use the function form of "use strict"

Published: 13 April 2024
on channel: Code Samples
466
11

I include the statement:
"use strict";

at the beginning of most of my Javascript files.
JSLint has never before warned about this. But now it is, saying:

Use the function form of "use strict".

Does anyone know what the "function form" would be?
Strict Mode Is Coming To Town: http://www.yuiblog.com/blog/2010/12/1...
Zhami: https://stackoverflow.com/a/11375064/...
Laith Shadeed: https://stackoverflow.com/posts/44625...
JSHint source code: https://github.com/jshint/jshint/blob...
docs: http://www.jshint.com/docs/
.jshintrc at github: https://github.com/jshint/jshint/blob...


Watch video javascript - JSLint is suddenly reporting: Use the function form of "use strict" online without registration, duration hours minute second in high quality. This video was added by user Code Samples 13 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 46 once and liked it 1 people.