JSOperators

-=

Assignment subtraction operator

See more on MDN

This operator takes a variable and in a concise way, assigns another value to it while subtracting the original value to the new value.

let a = 1;
a -= 4; // a now equals -3