JavaScript syntax: Difference between revisions

Content deleted Content added
Null: fix typo
Line 215:
</syntaxhighlight>
 
It's helpful to recognize <tt>null</tt> as a different value thenthan <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===