1, 我想把一个数组按照3等分合成一个新数组
把这个数组
var arr = [
[ "12" ],
[ "blob:http://localhost:8090/a23268b6-dde4-4ae8-a845-3fc0bc9c4ef8" ],
[ "12", "12" ],
[ "12" ],
[ "blob:http://localhost:8090/a23268b6-dde4-4ae8-a845-3fc0bc9c4ef8" ],
[ "12", "12" ]
]
变成
var arr = [arr1,arr2]
= [
[
[ "12" ],
[ "blob:http://localhost:8090/a23268b6-dde4-4ae8-a845-3fc0bc9c4ef8" ],
[ "12", "12" ]
],
[
[ "12" ],
[ "blob:http://localhost:8090/a23268b6-dde4-4ae8-a845-3fc0bc9c4ef8" ],
[ "12", "12" ]
]
]
给个方法,急!3Q3Q?
相关分类