📜  js 中的块作用域 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:26.541000             🧑  作者: Mango

代码示例1
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