摘要: 1、 扩展符 // 可以将数组转为用逗号相隔开的参数序列 1 // 2 console.log(...[1,2,3]) // 1, 2, 3 3 4 // 用于函数调用 5 function add(x, y) { 6 return x + y; 7 } 8 9 const numbers = [4 阅读全文
posted @ 2020-03-23 23:00 newtt 阅读(178) 评论(0) 推荐(0) 编辑