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

(JS-0059) Null comparisons without type-checking operators may not work as intended #46

Open
DerekNonGeneric opened this issue Aug 4, 2022 · 0 comments
Labels
hacktoberfest Issues that are a good fit for Hacktoberfest participants to work on

Comments

@DerekNonGeneric
Copy link
Member

Description

Comparing to null without a type-checking operator (=== or !==), can have unintended results as the comparison will evaluate to true when comparing to not just a null, but also an undefined value.

Occurrences

There are 2 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/openinf/util-errors/issue/JS-0059/occurrences/

@DerekNonGeneric DerekNonGeneric added the question Further information is requested label Aug 4, 2022
@DerekNonGeneric DerekNonGeneric added hacktoberfest Issues that are a good fit for Hacktoberfest participants to work on and removed question Further information is requested labels Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Issues that are a good fit for Hacktoberfest participants to work on
Projects
None yet
Development

No branches or pull requests

1 participant