Confusing Error on Lodash Library - Chunk method

Hi everyone, I’m working through the Lodash Library project and am on the last method (_.chunk).

Here’s my code.

chunk: function(array, size) {
    if (size === undefined) {
      size = 1;
    }

    const chunkedArray = [];

    for (let i = 0; i <= (array.length - 1); i = (i + size)) {

      const chunk = array.slice(i, (i + size));

      chunkedArray.push([chunk]);

    }

    return chunkedArray;
  }

I’m getting this error when running the test. I’m not sure why it’s reading my results as different from the desired results, according to what this says?

3 - Chunks evenly-divided arrays - Failed: _.chunk([1, 2, 3, 4], 2) returned [ 1,2, 3,4 ] instead of [ 1,2, 3,4 ].
4 - Chunks unevenly-divided arrays - Failed: _.chunk([1, 2, 3, 4, 5], 2) returned [ 1,2, 3,4, 5 ] instead of [ 1,2, 3,4, 5 ].

Remove the square brackets @

chunkedArray.push([chunk]);