NaN
not a number.
Last updated
Was this helpful?
not a number.
Last updated
Was this helpful?
⟩ ⟩ ⟩ ⟩ ⟩ NaN
⟩ ⟩ ⟩ ⟩ ⟩ NaN
( non-configurable, non-writable global object property )
a property of the global object. (that is, a variable in global scope).
equivalent to .
NaN
is the only value that doesn't equal to itself
trichotomy law: a < b, a = b, a > b
doesn't apply to ❗
replit:
- equivalent to NaN.
- with type conversion. (attempts to convert to a number)
⟩ - without type conversion.