上一页 1 ··· 7 8 9 10 11
摘要: 初级篇 1、三目运算符 const x = 20; let answer; if(x > 10) { answer = 'greater than 10'; }else { answer = 'less than 10'; } 简写为: const answer = x > 10 ? 'greate 阅读全文
posted @ 2019-03-22 14:23 姓蜀名黍 阅读(777) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11