摘要:
以下是不正确的方法:var exp = null;if (exp == null){ alert("is null");}exp 为 undefined 时,也会得到与 null 相同的结果,虽然 null 和 undefined 不一样。注意:要同时判断 null 和 undefined 时可使用 阅读全文
posted @ 2016-06-20 10:24
James·wang
阅读(7790)
评论(0)
推荐(0)
浙公网安备 33010602011771号