‘use strict’ is literal expression which was introduced in ECMAScript 2015. Basically, when you use ‘use strict’ it tells the Browser to execute code into

‘use strict’ is literal expression which was introduced in ECMAScript 2015. Basically, when you use ‘use strict’ it tells the Browser to execute code into
In Previous article, We have looked into how Javascript Hoisting works. Hoisting is Javascript’s default behavior of moving declarations to top of the file. There
Hoisting is Javascript’s default behavior of moving declarations to top of the file. There are two types of Hoisting is there: Variable Hoisting Function Hoisting
It executes immediately after it’s created. It has nothing to do with any event-handler for any events (such as document.onload). The first pair of parentheses (function(){…}) turns the
In JavaScript this refers to the “owner” of the function we’re executing or to the object that a function is a method of. When we define our