Content deleted Content added
add whitespace to avoid looking like an HTML entity |
No edit summary |
||
Line 236:
NaN; // The Not-A-Number value, also returned as a failure in ...
// ... string-to-number conversions
</syntaxhighlight>
Infinity and NaN are numbers:
<syntaxhighlight lang="javascript">
typeof Infinity; // returns "number"
typeof NaN; // returns "number"
</syntaxhighlight>
|