Author
Submitted by Rafase282
Github | FreeCodeCamp | CodePen | LinkedIn | Blog/Site | E-Mail
Assignment with Times Equals
The *= operator
multiplies a variable by a number.
myVar = myVar * 5;
will multiply myVar
by 5
. This can be rewritten as:
myVar *= 5;