Increment a Number with JavaScript chi

Tell us what’s happening:

Your code so far


var myVar = 87;

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


Your browser information:

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

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

It’s not telling you to write ++myVar, if you arbitrarily change where the increment operator is declared it will do a different thing

Use post increment for the variable, not pre increment