摘要: || : 在javascript中,返回第一个真值,除非都是假值返回最后一个值(也是假值)。1 || 0; // 10 || 1; // 10 || 0; // 00 || undefined; // undefinedundefined || 0; // 0&& : 在javascript中... 阅读全文
posted @ 2014-12-23 14:47 VoctrALs 阅读(177) 评论(0) 推荐(0)