1-Platform/one-platform

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

sayak-sarkar opened this issue · 0 comments

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/1-Platform/one-platform/issue/JS-0059/occurrences/