-
-=
- subtracts the second integer from the first.
3 - 1 //-> 2 1 - 10 //-> -9
You can use -= to subtract and assign to a variable.
let i = 3 i -= 1 i //-> 2