Compound Assignment With Augmented Subtraction help

Tell us what’s happening:

im trying to subtract like the example showed me but its not working with operator that was given any tips
Your code so far


var a = 11;
var b = 9;
var c = 3;

// Only modify code below this line
var a -= 6;
var b -= 15;
var c -= 1;

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/compound-assignment-with-augmented-subtraction

HINT: Once a variable has been declared, it should not be declared again.

1 Like

thank you much i see now