Myvar = myvar error

Myvar = myvar error
0

#1

Tell us what’s happening:

Your code so far

var myVar = 87;

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



Your browser information:

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

Link to the challenge:


#2

Do not assign the value 88 to myVar. The challenge is wanting you to simply use the ++ operator on myVar to increment myVar by one. You only need one line of code below the comment. You currently have two lines below the comment.


#3

I think the OP’s issue is he is expecting it to pass with the myVar = myVar++;. The challenge won’t pass with with either of the lines he has in his code, although both are technically correct.

The challenge is just looking for myVar++;