Guest User

Untitled

a guest
Dec 18th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. const array = [/*filled with mysteries*/];
  2.  
  3. return array.filter(a => !isNaN(a)).reduce((a,b) => a + +b, null) || '-';
Add Comment
Please, Sign In to add comment