Hacker News new | ask | show | jobs
by joshschreuder 4510 days ago
That test doesn't pass for me in Chrome console.

I think it's because your isNaN check shortcircuits the other checks as you're checking if the array element is NaN. Is that what you meant to do?

Also when you recursively call `numbers(args)` your `[].slice` will put your array inside another array.