Let re initialized and declaring

kambala yashwanth - Nov 29 '18 - - Dev Community
function f(){

 let a=1;
}
let a;
f();
console.log(a);

why output is undefined

. . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player