I am working through a javascript problem that asks me to:
Write a function that splits an array (first argument) into groups the length of size (second argument) an
function chunkArrayInGroups(arr, size) { var result = [], iterations = Math.ceil(arr.length/size); for (var i =0; i