1//let is block scoped
2//const is block scoped
3
4
5//var => function scoped
6
7var a = 20;
8
9console.log(a);
10
11if(true){
12 var a = 50;
13 console.log(a);
14}
15
16function callMe(){
17 var a = 100;
18 console.log("Inside call me");
19 console.log(a);
20}
21callMe();
22
23console.log(a);