org.sonar.l10n.javascript.ConditionalOperator.html Maven / Gradle / Ivy
Condition operators can quickly become hard to be read.
The following code snippet illustrates this rule :
function sayHello() {
var a = (a === 'A') ? 'is A' : 'is not A';
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy