What is “use strict” in JS?

What is “use strict” in JS?

“use strict” was a concept defined in Ecma Script 5 and was ignored by earlier version of Js.
It means that a code should be executed under strict mode and with strict mode you cannot use the variable shouldn’t be undefined.