Yes, unfortunately. Except in modules, where it is implied.
Is "use strict" necessary in ECMAScript 6?
-
23-06-2023 - |
题
I'm wondering when ECMAScript 6 comes, do we still need to put "use strict" in js codes?
解决方案
不隶属于 StackOverflow
题
I'm wondering when ECMAScript 6 comes, do we still need to put "use strict" in js codes?
解决方案
Yes, unfortunately. Except in modules, where it is implied.