Hoisting and Call Stack
The term "hoisting" refers to accessing variables and functions before they have been defined. Other programming languages often forbid this, but javascript makes an exception. Let's examine the code below.
var x = 10;
function hello(){
console.l...
sujal.hashnode.dev3 min read