Comment by plugnburn
11 years ago
See:
isPositive = (x) => +x === x && x > 0
In which conditions does it return a wrong value? I haven't found any.
11 years ago
See:
isPositive = (x) => +x === x && x > 0
In which conditions does it return a wrong value? I haven't found any.
No comments yet
Contribute on Hacker News ↗