第一种 使用concat
let arr0 = [1, 2, 3, 4, 5]
let arr1 = [1, 5, 5, 5, 5, 5]
let arr2 = [3, 2, 0, 0, 0, 0, 0]
let arr3 = arr0.concat(arr1, arr2)
console.log(arr3)
第二种 使用扩展运算符
let arr0 = [1, 2, 3, 4, 5]
let arr1 = [1, 5, 5, 5, 5, 5]
let arr2 = [3, 2, 0, 0, 0, 0, 0]
let arr3 = [...arr0, ...arr1, ...arr2]
console.log(arr3)
第三种 splice
let arr0 = [1, 2, 3, 4, 5]
let arr1 = [1, 5, 5, 5, 5, 5]
arr0.splice(5, 0, ...arr1)
let arr3 = arr0
console.log(arr3)