Hoisting in JavaScript
This is a process where the JavaScript interpreter appears to move the declarations to the top of the scope before execution.
Now, what does this mean exactly? let's see with an example:
//let's decalre a function first
function hello (){
cons...
debasishlenka.in3 min read