Increment a Number with JavaScript err

Tell us what’s happening:

Can someone please help, what am i doing wrong, see code below?

I have also tried adding the post increment, the myVar value = 88 but sill get an error:

"myVar = myVar should be changed "
Your code so far

var myVar = 87;

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

Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0.
Link to the challenge:

https://www.freecodecamp.org/challenges/increment-a-number-with-javascript

Kamukh
The entire line becomes i++;, eliminating the need for the equal sign.

Thank you very much, ID10T error :slight_smile:

var myVar =5;
myVar=++myVar;

This also works , the reason for ++myVar instead of myVar++ is because the increment before the variable changes it on that exact line and the myVar++ does it after the ;