According to you, who is
The above piece of lines may…
Before starting the journey toward Js Engine we should know where Exactly the Js engine has been…
To understand Hoisting and Temporary Dead Zone first we should know the scope difference of let and var.
var foo = 5
let bar = 5
console.log(bar) //ReferenceError: bar is not defined , because bar varible isn't function scope, bar is only block scope variable
There are two kinds of scope — Global scope and Local scope.
Variables defined outside a function are in…