2020-12-21 15:38:52 +01:00
|
|
|
include::../description.adoc[]
|
|
|
|
|
|
|
|
== NonCompliant Code Example
|
|
|
|
|
|
|
|
----
|
|
|
|
function process(var a) {
|
|
|
|
var BAD_OPS = 3;
|
|
|
|
if( a = BAD_OPS) {...}
|
|
|
|
}
|
|
|
|
----
|
|
|
|
|
|
|
|
----
|
|
|
|
function process(var a) {
|
|
|
|
var BAD_OPS = "UNKNOWN";
|
|
|
|
if( a = BAD_OPS) {...}
|
|
|
|
}
|
|
|
|
----
|
|
|
|
|
|
|
|
include::../see.adoc[]
|
2021-06-02 20:44:38 +02:00
|
|
|
|
2021-06-03 09:05:38 +02:00
|
|
|
ifdef::env-github,rspecator-view[]
|
2021-06-02 20:44:38 +02:00
|
|
|
== Comments And Links
|
|
|
|
(visible only on this page)
|
|
|
|
|
|
|
|
include::../comments-and-links.adoc[]
|
2021-06-03 09:05:38 +02:00
|
|
|
endif::env-github,rspecator-view[]
|