Whats happening is you are misunderstanding what isNaN does. It does not check if the value passed is or isn't a number, it only check if the value is the global constant NaN
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Whats happening is you are misunderstanding what
isNaN
does. It does not check if the value passed is or isn't a number, it only check if the value is the global constantNaN