Execution context and How Java Script Engine Works | JavaScript Interview Series

Lets understand the working with an simple example – var a = “hello world”; console.log(a); function demo1() { console.log(“demo1 fun”); demo2(); } function demo2() { console.log(“demo2 fun”); } demo1(); console.log(“It […]