diff --git a/src/array/chunk.ts b/src/array/chunk.ts index 5827dda49..321ee2ad7 100644 --- a/src/array/chunk.ts +++ b/src/array/chunk.ts @@ -33,7 +33,7 @@ export function chunk(arr: T[], size: number): T[][] { const start = index * size; const end = start + size; - result[index] = arr.slice( start, end); + result[index] = arr.slice(start, end); } return result;