Hacker News new | ask | show | jobs
by FuzzyDunlop 5029 days ago
One might prefer to supply the radix when using parseInt(), too. Lest one encounters strings that convert into octal numbers.

parseInt('09') !== parseInt('9')