摘要: 1.对多个条件使用Array.includes eg: function test(fruit){ function test(fruit){ if(fruit=='apple' || fruit=='cherry' ){ 可改写为 console.log('red') >> const redFr 阅读全文
posted @ 2019-03-29 17:25 carrieLee 阅读(188) 评论(0) 推荐(0) 编辑