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 += 12 + a ;
b += 9 + b ;
c += 7 + c ;

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 11; 21061119BI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36

Challenge: Basic JavaScript - Compound Assignment With Augmented Addition

Link to the challenge:

I did some test for your code.
I hope it will give you some idea, where is your mistake.
If not, feel free to ask questions

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

a += 12 + a ;
b += 9 + b ;
c += 7 + c ;

console.log(a, b, c)//18 43 31

//Expected: 15, 26, 19
1 Like