Assignment Operators
Assignment operators assign a value to a variable. The basic assignment is =. Compound assignment operators combine an arithmetic or bitwise operation with assignment, such as +=, -=, *=, /=, %=, and **=.
let x = 10; // assignmentx += 5; // x = x + 5 -> 15x -= 3; // x = x - 3 -> 12x *= 2; // x = x * 2 -> 24x /= 4; // x = x / 4 -> 6x %= 4; // x = x % 4 -> 2x **= 3; // x = x ** 3 -> 8