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

Ah, right, my bad.

In my defense, JavaScript treats a value of `undefined` differently from an unset field / variable (e.g. when testing `object.hasOwnProperty('field')`).




JavaScript has too many "non-visible" value types in my opinion. This makes for both messy code and messy debugging.




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

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

Search: