摘要: ES6 语法糖 1. ... ... 表示取出可遍历数组中的内容。 const arr = new Array() const numbers = [1,2,3,4,5] arr.push(...numbers)// arr内容:1 2 3 4 5,即将numbers的内容挨个取出然后push到ar 阅读全文
posted @ 2023-01-05 17:41 echo_lovely 阅读(102) 评论(0) 推荐(0) 编辑