warning
eqeqeqForces equality operators to be type-safe
Examples
❌ Incorrect
if (x == y) {
// code
}
if ("" == text) {
//code
}
if (obj.stuff != undefined) {
// code
}
✅ Correct
if (x === y) {
// code
}
if ("" === text) {
// code
}
if (obj.stuff !== undefined) {
// code
}