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

optimized _.eq function, remove redundant comparison when both null #2630

Merged
merged 2 commits into from
Nov 21, 2016
Merged

Conversation

ahonn
Copy link
Contributor

@ahonn ahonn commented Nov 21, 2016

PR for #2629

@coveralls
Copy link

coveralls commented Nov 21, 2016

Coverage Status

Coverage remained the same at 96.763% when pulling 2c2abf8 on ahonn:master into ce09af4 on jashkenas:master.

@@ -1185,7 +1185,7 @@
// See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).
if (a === b) return a !== 0 || 1 / a === 1 / b;
// A strict comparison is necessary because `null == undefined`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's update the comment as well.

@coveralls
Copy link

coveralls commented Nov 21, 2016

Coverage Status

Coverage remained the same at 96.763% when pulling 6d7225d on ahonn:master into ce09af4 on jashkenas:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.763% when pulling 6d7225d on ahonn:master into ce09af4 on jashkenas:master.

@jridgewell jridgewell merged commit 314eb03 into jashkenas:master Nov 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants