📜  声明空变量 javascript 代码示例

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

代码示例1
It's initialized to undefined by default, just use that, you don't have to write it out:

var obj;
If it you want to concatenate to a string, use '', for counters use 0... Just use common sense.