发布于 11个月前

js判断undefined

var tmp = undefined; 
if (typeof(tmp) == "undefined"){ 
    alert("undefined"); 
}
©2020 edoou.com   京ICP备16001874号-3