摘要: 原帖地址: http://www.w3cfuns.com/blog-5477338-5410055.html在js逻辑运算中,0、""、null、false、undefined、NaN都会判为false,其他都为true.|| 先计算第一个运算数,如果可以被转换成true,则返回左边这个表达式的值,... 阅读全文
posted @ 2015-10-29 15:51 haili042 阅读(192) 评论(0) 推荐(0) 编辑