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

isNaN does not tell you whether something is not a Number either. Applying isNaN to any of these returns false: null, true, false, [], "", "cabbage".




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

Search: