org.sonar.l10n.javascript.EqEqEq.html Maven / Gradle / Ivy
The == and != operators do type coercion before comparing.
This is bad because it causes ' \t\r\n' == 0 to be true.
This can mask type errors.
It is best to not use == and != and to always use the more reliable === and !== operators instead.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy