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

Is it really that strange?

Those statements are basically (as per ECMA-262 11.9.3):

0 === Number('0') 0 === Number('') '0' === ''




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

Search: