I’ve only been trying it in Firefox’s JavaScript console, but neither of the following statements return true:
parseFloat(\'geoff\') == NaN; parseFloat(\'ge
Maybe also this:
function isNaNCustom(value){ return value.toString() === 'NaN' && typeof value !== 'string' && typeof value === 'number' }