Decrement a Number with JavaScript - not working again

Tell us what’s happening:

Your code so far

var myVar = 11;

// Only change code below this line
myVar = myVar--;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36.

Link to the challenge:

if you look at the example they dont want you to use myVar = myVar. Just the –
so it would be


If you log myVar at the end of your script, you’ll notice it’s still 11.