Skip to content

Always prefer === over == (and !== over !=) in JavaScript #1274

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

Merged
merged 3 commits into from
May 18, 2020
Merged

Always prefer === over == (and !== over !=) in JavaScript #1274

merged 3 commits into from
May 18, 2020

Conversation

jdufresne
Copy link
Contributor

It is considered good practice to use the type-safe equality operators
=== and !== instead of their regular counterparts == and !=. Avoids
unwanted type coercion.

jdufresne and others added 3 commits May 17, 2020 18:04
It is considered good practice to use the type-safe equality operators
=== and !== instead of their regular counterparts == and !=. Avoids
unwanted type coercion.
@matthiask matthiask merged commit 364729d into django-commons:master May 18, 2020
@jdufresne jdufresne deleted the eqeqeq branch May 18, 2020 22:06
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.

2 participants