您的位置: 首页 > IT文章 > 链接两个数组 链接两个数组 分类: IT文章 • 2023-11-29 21:44:43 ES5写法: Array.prototype.push.apply(arr1, arr2); // console.log(arr1) E66写法: arr1.push(...arr2); //console.log(arr1)