摘要: 数组的拼接 var a = [1,2,3,4,5,6]; var b=["foo","bar", "fun"]; 最终的结果是: [ 1,2,3,4,5,6,"foo","bar","fun" ] 一般情况下,我们最先想到的是concat c=a.concat(b); c是新数组,此时内存使用有,c 阅读全文
posted @ 2016-06-21 21:52 Tome.Wong 阅读(47060) 评论(0) 推荐(1) 编辑