摘要: 1.三元表达式不要用来判断真假值 let bought = (account && account.period_record_length || account.standard_class_record_length) ? true : false; // if true, = true 2.不 阅读全文
posted @ 2020-08-08 16:55 Mr.Winter 阅读(167) 评论(0) 推荐(0) 编辑