2022年8月25日
摘要: ⒈解构数组 最简单的解构莫过于数组的解构赋值了: let input = [1, 2]; let [first, second] = input; console.log(first); // outputs 1 console.log(second); // outputs 2 这创建了2个命名变 阅读全文
posted @ 2022-08-25 11:16 little fat 阅读(876) 评论(0) 推荐(0) 编辑