Guest User

Untitled

a guest
Feb 18th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. let a = [[1,2], [3,4]];
  2.  
  3. a.map(val => ...val)
  4. // => SyntaxError: expected expression, got '...'
  5. // Expected output: [1,2,3,4]
Add Comment
Please, Sign In to add comment