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

This is why JS has both null and undefined.



Ah, JS, the pinnacle of data correctness. 1 == "1" results in undefined, right?


nope 1 == "1" is true and 1 === "1" is false




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: