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

Fixes Number.is* signatures to accept any input. #24436

Merged
merged 1 commit into from
May 30, 2018

Commits on May 27, 2018

  1. Fixes Number.is* signatures to accept any input.

    These functions are incredibly useful for testing to see if a value is a number that meets certain constraints as they return false for _any_ input that doesn't satisfy the constraints explicitly.  Tested in NodeJS and Firefox and both of them work properly when you give a range of values.  MDN also indicates that they will return false for any non-number input.
    MicahZoltu committed May 27, 2018
    1 Configuration menu
    Copy the full SHA
    a846e7f View commit details
    Browse the repository at this point in the history