js中concat() 数组合并
var arr = [1,2,3] var arr2 = [4,5,6] var nowArr = arr.concat(arr2) console.log(nowArr) // [1,2,3,4,5,6]