JavaScript compares with === (strict equality, no type conversion) or == (with conversion, a source of errors), and !== for inequality. The logical operators &&, ||, and ?? combine values. Use strict equality by default.
Example
0 == '0' // true
0 === '0' // false