Number.isNaN() returns true if the value is Number.NaN (Not a Number), otherwise false.
Number.isNaN() is not supported in Internet Explorer or earlier.