16 lines
210 B
Plaintext
16 lines
210 B
Plaintext
include::../description.adoc[]
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
if !(a == 2) {...} // Noncompliant
|
|
let b = !(i < 10) // Noncompliant
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
if a != 2 {...}
|
|
let b = i >= 10
|
|
----
|