Answers for "block scoped in js"

1

block scoped in js

The area of the code which is within {curley brackets} is called a block
if (true) {  ///block start 
  var x = 2;
  let y = 2;
}  // block end
Posted by: Guest on June-09-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language