GCT1015
let arr = [1, 2, 3],那么可以用[...arr, 4, 5, 6]。可以用于拼接对象:let obj = {
name: 'name'}let newObj = {
...obj,
age: 18}// 结果{
name: 'name',
age: 18}