js 判断变量是否为undefined

2018-08-26  本文已影响5人  fuzihuan
if(typeof(value) == "undefined"){ 
    alert("undefined"); 
}
上一篇 下一篇

猜你喜欢

热点阅读