What is Hoisting in JavaScript ?
Introduction
Hoisting is one of the most important concepts in JavaScript. Let's look at an example before we move forward:
function sum (a,b) {
return a+b;
}
console.log(sum(5,10));
It is quite clear that the output of the above console log will ...
nakulsharma.hashnode.dev4 min read