4 ms·
One might prefer to supply the radix when using parseInt(), too. Lest one encounters strings that convert into octal numbers. parseInt('09') !== parseInt('9')
by FuzzyDunlop 14y 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')