2016年3月28日

摘要: http://wshyd.blog.163.com/ 阅读全文

posted @ 2016-03-28 19:20 痞子英雄 阅读(64) 评论(0) 推荐(0)

摘要: console.log(2+3+4+'haha'+5+6) //输出结果为9haha56,一旦碰到非数字输出,即非法输出的,后面的就是拼接. var a=false;var b=6;var c=true;var d=(a||b||c);console.log(d);//JS的逻辑运算,返回的是最早能 阅读全文

posted @ 2016-03-28 19:19 痞子英雄 阅读(215) 评论(0) 推荐(0)