The original array.
The number of elements to include in each subarray.
Array of subarrays, where each subarray contains 'n' elements from the original array.
arrayIntoChunks([1,2,3,4,5,6], 3); // [[1,2],[3,4],[5,6]]
Splits an array into subarrays of length 'n'.
Generated using TypeDoc
Convert an array into given chunk(s).