More about use strict:
https://johnresig.com/blog/ecmascript...
"use strict"; Defines that JavaScript code should be executed in "strict mode".
The "use strict" directive was new in ECMAScript version 5.
It is not a statement, but a literal expression, ignored by earlier versions of JavaScript.
The purpose of "use strict" is to indicate that the code should be executed in "strict mode".
With strict mode, you can not, for example, use undeclared variables.
Strict mode is declared by adding "use strict"; to the beginning of a script or a function.
Declared at the beginning of a script, it has global scope (all code in the script will execute in strict mode)
Declared inside a function, it has local scope (only the code inside the function is in strict mode)
Reference blog:
https://js.plainenglish.io/what-is-st...
On this page of the site you can watch the video online JavaScript Use Strict with a duration of hours minute second in good quality, which was uploaded by the user Bhanu Prathap 01 January 1970, share the link with friends and acquaintances, this video has already been watched 19 times on youtube and it was liked by 0 viewers. Enjoy your viewing!