Post Help: Chunky Monkey

Tell us what’s happening:
This code below is a solution number 2 of chunky monkey challenge Guide
link: freeCodeCamp Challenge Guide: Chunky Monkey

I did not understand the code too much specially this line: newArray.push(arr.slice(i, i + size));

Your code so far

function chunkArrayInGroups(arr, size) {
let newArray = [];
for (let i = 0; i < arr.length; i += size) {
newArray.push(arr.slice(i, i + size));
}
return newArray;
}

console.log(chunkArrayInGroups([0, 1, 2, 3, 4, 5], 4));