9 lines
180 B
Plaintext
9 lines
180 B
Plaintext
![]() |
[source,javascript]
|
||
|
----
|
||
|
let target =-5;
|
||
|
let num = 3;
|
||
|
|
||
|
target =- num; // Noncompliant: target = -3. Is that the expected behavior?
|
||
|
target =+ num; // Noncompliant: target = 3
|
||
|
----
|