摘要: 布尔值短写法 true; //Before !0; //After 串连字符串 ''+a+b+c; //before ''.concat(a, b, c); 优化嵌套的条件语句 可优化大量的ifelse switch语句 before: //method1 if (color) { if (colo 阅读全文
posted @ 2021-09-03 17:54 九月九九八 阅读(107) 评论(0) 推荐(0)