JS如何判断变量是否定义?

已邀请:

zkbhj - 凯冰科技站长

赞同来自:

if("undefined" != typeof downlm){ 
if(downlm=="soft"){
document.write('成功');
}
}

要回复问题请先登录注册