Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Replace ==/!= with ===/!== #56

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

Conversation

deepsource-autofix[bot]
Copy link
Contributor

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.

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants