Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eslint: change isNaN to Number.isNaN #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

gasp
Copy link

@gasp gasp commented Nov 20, 2017

The global isNaN coerces non-numbers to numbers, returning true for anything that coerces to NaN. If this behavior is desired, make it explicit.
more details at https://github.com/airbnb/javascript#standard-library--isnan

I am sending a pull request to you because this would be nice to be included on the PR adding es2015 expressjs#176

The global isNaN coerces non-numbers to numbers, returning true for anything that coerces to NaN. If this behavior is desired, make it explicit.
more details at https://github.com/airbnb/javascript#standard-library--isnan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant