Categories
JavaScript

JavaScript’s “Use Strict”

use strict : “use strict”; Defines that JavaScript code should be executed in “strict mode”. Strict modeĀ : Strict mode defines that you can not use any variable before initializing it. It is a restricted variant of ECMAScript 5, for faster performance and easier debugging. Sometimes you’ll see the default, non-strict mode referred to asĀ “sloppy mode“. […]