showing results for - "block scoped in js"
Safia
23 Nov 2018
1The area of the code which is within {curley brackets} is called a block
2if (true) {  ///block start 
3  var x = 2;
4  let y = 2;
5}  // block end