Skip to content

Challenge Assignment with Times Equals

SaintPeter edited this page · 1 revision
Clone this wiki locally

Author

@Rafase282

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;

Something went wrong with that request. Please try again.