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

Presumably by calling parseInt('010') which used to detect zero leading strings as octal.



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

Search: