Tell us what’s happening:
the answer is myVar++; but it does not work , it still gives me error

Your code so far

var myVar = 87;

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

Your browser information:

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

Challenge: Increment a Number with JavaScript

Link to the challenge:

Hi and welcome to the forum!

The challenge expects you to remove this line and replace it with