摘要: 1.js判断不为空 以下是不正确的方法: 代码如下 复制代码代码如下: var exp = null; if (exp == null) { alert("is null"); } exp 为 undefined 时,也会得到与 null 相同的结果,虽然 null 和 undefined 不一样。 阅读全文
posted @ 2016-12-20 10:27 飞翔. 阅读(281) 评论(0) 推荐(0) 编辑