📜  js var 是什么意思 - Javascript 代码示例

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

代码示例1
Used to create a variable that is globally scoped when not used in a function. 
When it is used in a function, it can only be used in that function and not
outside of it. This statement is comparable to let but more globalized.