The Number.NaN
is a global property that represent as “Not-a-Number” value and it is equivalent with NaN. However, the difference between both of them are one from Number.NaN
and one from window.NaN
.
Syntax
Number.NaN
Browser Support
Browser | Chrome | Edge | Mozilla | Safari | Opera |
Number.NaN | Yes | Yes | Yes | Yes | Yes |