Can someone explain below code:
What will be the value of myVar inside function b?
function a() {
function b() {
console.log("b", myVar);
}
b();
let myVar;
console.log("a", myVar); //Look for a execution context
}
a();