All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.flex.rules.flex.S1438.html Maven / Gradle / Ivy

There is a newer version: 2.14.0.5032
Show newest version

Why is this an issue?

In Flex, the semicolon is optional as a statement separator, but omitting semicolons can be confusing.

Noncompliant code example

function fun() {
  return   // Noncompliant
       5   // Noncompliant
}
print(fun());  // prints "undefined", not "5"

Compliant solution

function fun() {
  return 5;
}
print(fun());




© 2015 - 2025 Weber Informatics LLC | Privacy Policy