摘要: 1 下面列出的值被当作假falsenullundefined''0NaN其它所有值被当作是真 console.log(undefined || true); //trueconsole.log(0||true); //trueconsole.log(''||true); //trueconsole.... 阅读全文
posted @ 2014-07-31 11:25 jssl915 阅读(267) 评论(0) 推荐(0) 编辑