chunk an array
Chunk an Array
Chunking an array means splitting it into smaller arrays with a specific size. For example, if we have an array of 10 elements and we want to chunk it into arrays of 3 elements each, we would end up with 4 smaller arrays: [0, 1, 2], [3,