现在的位置: 首页 > 综合 > 正文

js判断undefined类型

2012年12月04日 ⁄ 综合 ⁄ 共 52字 ⁄ 字号 评论关闭
if (typeof(a) == "undefined") { 
   alert("undefined"); 
}  

抱歉!评论已关闭.