📜  “let”和“var”的区别? - Javascript代码示例

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

代码示例1
In simple words 'var' is function scoped and 'let' is block scoped