摘要: JavaScript Array contrast 先看起因 前提 a = [] 过程 if (a []) { console.log("run this script."); } 结论 不会输出任何语句 修正 if(a.length 0) { console.log("That is right. 阅读全文
posted @ 2021-05-02 19:04 L1ng14 阅读(63) 评论(0) 推荐(0) 编辑