摘要: //在js中if条件为null/undefined/0/NaN/""表达式时,统统被解释为false,此外均为true .//为空判断函数function isNull(arg1){return !arg1 && arg1!==0 &&typeof arg1!=="boolean"?true:fal... 阅读全文
posted @ 2014-07-01 11:12 SunRain117 阅读(39516) 评论(1) 推荐(1) 编辑