19 lines
288 B
Plaintext
19 lines
288 B
Plaintext
![]() |
Replace the operators with a single one if that is the intention
|
||
|
|
||
|
[source,javascript]
|
||
|
----
|
||
|
let target =-5;
|
||
|
let num = 3;
|
||
|
|
||
|
target -= num; // target = -8
|
||
|
----
|
||
|
|
||
|
Or fix the spacing to avoid confusion
|
||
|
|
||
|
[source,javascript]
|
||
|
----
|
||
|
let target =-5;
|
||
|
let num = 3;
|
||
|
|
||
|
target = - num; // target = -3
|
||
|
----
|