3 ms·
A leading zero usually means 'this number is octal', so parseInt returns 10. Not very intuitive notation, however.
by mhansen 17y ago
A leading zero usually means 'this number is octal', so parseInt returns 10. Not very intuitive notation, however.