链接两个数组

ES5写法:

Array.prototype.push.apply(arr1, arr2);  // console.log(arr1)

E66写法:

arr1.push(...arr2);  //console.log(arr1)

原文地址:https://www.cnblogs.com/vicky24k/p/11762738.html