1/*A common programming task is to update the value of a variable in
2reference to itself.*/
3
4let x = 1;
5x = x + 1;
6
7console.log(x);
8
9//2
1/*This action is so common, in fact, that it has a shorthand operator,
2+=. The following example has the same behavior as the one above.*/
3
4let x = 1;
5x += 1;
6
7console.log(x);
8
9//2