100 Days of code

Day#02: Chunky Monkey


Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a two-dimensional array.