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

Section on null seems off to me.

> in almost all cases, it can be replaced by undefined.

Null has a subtle relationship to Object in that

    typeof null == 'object'
For that reason, null should be used for values that can be optional references to Objects (or null).



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

Search: