Hacker News new | past | comments | ask | show | jobs | submit login

A leading zero usually means 'this number is octal', so parseInt returns 10. Not very intuitive notation, however.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: