I’ve only been trying it in Firefox’s JavaScript console, but neither of the following statements return true:
parseFloat(\'geoff\') == NaN; parseFloat(\'ge
You should use the global isNaN(value) function call, because:
isNaN(value)
Examples:
isNaN('geoff'); // true isNaN('3'); // false
I hope this will help you.