Posts by Mario Aparecido Ferreira • 1 point
1 post
-
-3
votes5
answers3614
viewsA: Split array into smaller groups
If use at multiple points, suggest adding prototypes of objects. var splitList = function (list, limit) { var originalList = []; var loop = Number((list.length / limit).toFixed(0)) + (!!(list.length…