isNaN() function determines the value which is passed to the function is a non-numeric or not. If the value is numeric it returns false else it returns true.
ex:
document.write(isNaN(123)); false
document.write(isNaN(-1.23)); false
document.write(isNaN('hello')); true