标签:javascript undefined
if("undefined" == typeof myVar01){ }
undefined加引号
js判断变量是否声明
原文地址:http://blog.csdn.net/hehaoyang666/article/details/42497705