摘要: 两个数组的合并 var arr=[1,2,3,4,4]; var arr2=['hello','world']; [].prototype.push.apply(arr,arr2); >console.log(arr)[1,2,3,4,4,'hello','world'] 阅读全文
posted @ 2018-01-25 10:46 阿法狗的世界 阅读(110) 评论(0) 推荐(0)