What is Hoisting in JavaScript?
So as we know JavaScript is synchronous by default i.e. JS run line by line. For example, observe the code below and tell the output.
function sum(a , b){
return a + b;
}
console.log(sum(5 , 5))
//Output => 10
How about we declare a variable at l...
shrutidotdev.hashnode.dev2 min read