Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

See:

  isPositive = (x) => +x === x && x > 0
In which conditions does it return a wrong value? I haven't found any.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: