链接两个数组 ES5写法: Array.prototype.push.apply(arr1, arr2); // console.log(arr1) E66写法: arr1.push(...arr2); //console.log(arr1)