Update chunk.md
This commit is contained in:
committed by
GitHub
parent
1e7ba229d7
commit
f057d4d95b
@ -17,5 +17,5 @@ const chunk = (arr, size) =>
|
||||
```
|
||||
|
||||
```js
|
||||
chunk([1, 2, 3, 4, 5], 2); // [[1,2],[3,4],[5]]
|
||||
chunk([1, 2, 3, 4, 5], 2); // [[1, 2], [3, 4], [5]]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user