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

perf(internal): use strict equality for isObject() #4493

Merged
merged 1 commit into from
Jan 24, 2019

Commits on Jan 24, 2019

  1. perf(internal): use strict equality for isObject()

    In `isObject(x)` use triple equal instead of double equal comparison
    with `null`, since `undefined` will be ruled out via the `typeof`, and
    therefore it's sufficient to just check for `null` initially.
    bmeurer committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    d0d8895 View commit details
    Browse the repository at this point in the history