摘要: 操作符 &&操作符 // 繁琐 if (this.isTrue) { this.test(); } // 简洁 this.isTrue && this.test(); ||操作符 // 繁琐 let num; if (this.value) { num = this.value; } else { 阅读全文
posted @ 2020-10-16 11:47 戡玉 阅读(131) 评论(0) 推荐(0) 编辑