The Wayback Machine - https://web.archive.org/web/20220515113009/https://github.com/lodash/lodash/pull/5428
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: use === instead of == of all files. #5428

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

Conversation

dev-itsheng
Copy link

@dev-itsheng dev-itsheng commented Apr 17, 2022

I've noticed that there are already some PRs that do something similar to me, but they've only committed a few files.

I checked all the files in the project and replaced all == with === and != with !== as much as possible.

The only thing that is not modified is about the null value, because the value being compared may be null, it may be undefined, in general, when we use == null or != null, We may want to check if it is null or undefined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant