Table of contents Home page
Execute this code
// Number.NaN is unequal to anything, so it cannot be used to check if a value is numerical. // Use isNaN() instead. // Number.NaN is functionally equivalent to the global constant NaN. var x = Number.NaN - 7 // This does not change the value of Number.NaN alert(x)