correct the example in comment (#18458)

This commit is contained in:
Shubham Soni
2018-10-14 07:14:53 +05:30
committed by Paul Gamble
parent e36665cff9
commit d8a6087fe2

View File

@ -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