How to Increment a Number with JavaScript

How to Increment a Number with JavaScript
0

Tell us what’s happening:

Your code so far


var myVar = 88;

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/increment-a-number-with-javascript

Is there a question here? This is exactly right, and passes fine.

how come it said its wrong

You set the myVar variable to 88.
But in the challenge its 87.

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

thank you so much Parathani