// MULTIPLICATION ASSIGNMENT // Equals to expr1 = expr1 * expr2. a = 2 b = 3 a *= b // Result: a = 6. // Addition Assignment // Equals to expr1 = expr1 + expr2. a = 2 b = 3 a += b // Result: a = 5. // Subtraction Assignment a -= b
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter