JavaScript Built In Operator %=
View Source...
This is an operator designated for assigment duty and modulus calculation. This operator is a combination of both jobs and calculates modulus variables as well as assigns values to variables in JavaScript. An example of a%=b is the same as a=a%b.