Guest User

Untitled

a guest
Nov 12th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. chunk(['a', 'b', 'c', 'd'], 2);
  2. // => [['a', 'b'], ['c', 'd']]
  3.  
  4. chunk(['a', 'b', 'c', 'd'], 3);
  5. // => [['a', 'b', 'c'], ['d']]
Add Comment
Please, Sign In to add comment