Tell us what’s happening:
You should not use the assignment operator.
Your code so far
var myVar = 87;
// Only change code below this line
myVar = 86+1;
++myVar;
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36
.
Challenge: Increment a Number with JavaScript
Link to the challenge: