isNumber should return false for NaN