摘要: 扩展运算符 console.log(...[1, 2, 3]) // 1 2 3 console.log(1, ...[2, 3, 4], 5) // 1 2 3 4 5 [...document.querySelectorAll('div')] // [<div>, <div>, <div>] 1 阅读全文
posted @ 2019-01-18 11:34 依旧那片天 阅读(101) 评论(0) 推荐(0) 编辑