Basic JavaScript - Compound Assignment With Augmented Addition

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

let a = 3;
let b = 17;
let c = 12;

// Only change code below this line
a = a += 12;
b = b += 9;
c = c += 7;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Compound Assignment With Augmented Addition

Link to the challenge:

In javascript you can increment with += operator. You don’t need to use another equal. Enough += like a+=12

Yes l am understand this topic

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.