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/
Description
Comparing to
nullwithout a type-checking operator (===or!==), can have unintended results as the comparison will evaluate totruewhen comparing to not just anull, but also anundefinedvalue.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/