用js将一个数组合并到另一个数组中

var arr1 = ["one","two","three"];

var arr2 = ["1","2",3];

Array.prototype.push.apply(arr1,arr2);

===>arr1 = ["one","two","three","1","2",3]

posted on 2017-05-04 15:10  sunnie_c  阅读(250)  评论(0编辑  收藏  举报