Content deleted Content added
Line 205:
===Null===
Unlike undefined, [[Null Object pattern|null]] is often
Note: Null is a true primitive-type within the JavaScript language, of which {{mono|null}} (note case) is the single value. As such, when performing checks that enforce type checking, the null value will not equal other false types. Carried over from early days of JavaScript, <tt>null</tt> is considered an object by <tt>[[typeof]]</tt><ref>https://2ality.com/2013/10/typeof-null.html</ref>
<syntaxhighlight lang="javascript">
</syntaxhighlight>
It's helpful to recognize <tt>null</tt> as a different value then <tt>undefined</tt>. For example, a function could return <tt>null</tt> to represent that a given argument is not within the parameters of the function, or that an action could not be completed.
===Number===
|