Name
NaN — NN 3 IE J2 ECMA 1
Synopsis
Read-only
Equal to a value that is not-a-number. JavaScript returns this value
when a numerical operation yields a non-numerical result because of a
flaw in one of the operands. If you want to test whether a value is
not a number, use the isNaN()
global function
rather than comparing to this property value.
Value
NaN
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.