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

util: use ES2015+ Object.is to check negative zero #11332

Closed
wants to merge 1 commit into from

Commits on Feb 13, 2017

  1. util: use ES2015+ Object.is to check negative zero

    The original code nodejs@b3e4fc6 is written in 2013. Today we can use more simple way `Object.is`, which was introduced in ECMAScript 6, to check whether the value is negative zero or not.
    shinnn committed Feb 13, 2017
    Configuration menu
    Copy the full SHA
    4d9579c View commit details
    Browse the repository at this point in the history