Hoisting made simple
Hoisting : It is concept in which we can access values of variables and functions even before they are initialised.
Let's understand with an example bellow:
In normal javascript code behaves as we aspected.
var num = 100;
function greeting(){
cons...
shafiq.hashnode.dev3 min read