Hacker News new | ask | show | jobs
by jefftk 1497 days ago
isNaN does not tell you whether something is not a Number either. Applying isNaN to any of these returns false: null, true, false, [], "", "cabbage".