Return arr broken up into chunks of size
arr
size
chunks([1,2,3,4,5,6,7,8,9,10], 3);// Yields: [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]] Copy
chunks([1,2,3,4,5,6,7,8,9,10], 3);// Yields: [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10]]
Return
arr
broken up into chunks ofsize