isNaN-1

NaN stands for Not a Number, so isNaN function will tell whether the passed value is not a number OR number. This is how we can pass the value in isNaN function and get the output: isNaN(NaN) , isNaN(undefined) , isNaN(null) , isNaN(37) will result in true,true,false and false.