30 lines
459 B
Plaintext
Raw Normal View History

2020-06-30 12:50:59 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
for (i = 0; i < 10; i++) {
if (i == 5) {
continue; /* Noncompliant */
}
alert("i = " + i);
}
----
== Compliant Solution
----
for (i = 0; i < 10; i++) {
if (i != 5) { /* Compliant */
alert("i = " + i);
}
}
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]