Guest User

Untitled

a guest
Feb 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. const flattenDeep = array => (
  2. array && array.constructor.name === 'Array' ?
  3. array.toString().split(',').map(num => +num) : []
  4. );
Add Comment
Please, Sign In to add comment