Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a= [{A:'A'},
- {B:'B'},
- {C:'C'},
- {D:'D'},
- {E:'E'},
- {F:'F'},
- {G:'G'},
- {H:'H'},
- {I:'I'}];
- b= [{a:{A:'A'}, b:{B:'B'}},
- {c:{C:'C'}, d:{D:'D'}},
- {e:{E:'E'}, f:{F:'F'}},
- {g:{G:'G'}, h:{H:'H'}},
- {i:{I:'I'}}];
- len = Math.ceil( a.length / parts); // округлить в бОльшую сторону
- 0: {A:'A'}
- 1: {B:'B'}
- ..
Add Comment
Please, Sign In to add comment