Split array into chunks
// returns [ ['a', 'b', 'c'], ['d', 'e', 'f'] ]splitArray(['a', 'b', 'c', 'd', 'e', 'f'], 3); Copy
// returns [ ['a', 'b', 'c'], ['d', 'e', 'f'] ]splitArray(['a', 'b', 'c', 'd', 'e', 'f'], 3);
Split array into chunks