correct the example in comment (#18458)
This commit is contained in:
committed by
Paul Gamble
parent
e36665cff9
commit
d8a6087fe2
@ -36,7 +36,7 @@ This is the same as applying the addition operator and reassigning the sum to th
|
||||
To illustrate this using actual values, here is another example of using the addition assignment operator:
|
||||
|
||||
let myVar = 5; // value of myVar: 5
|
||||
myVar += 7; // value of myVar: 12 = 5 + 7
|
||||
myVar += 7; // value of myVar: 5 + 7 = 12
|
||||
|
||||
## Complete list of Javascript's assignment operators
|
||||
|
||||
|
Reference in New Issue
Block a user