4 ms·
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 ==
by mckoss 12y ago
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).