Increment a Number with JavaScript helpme

Tell us what’s happening:

myVar=myVar++; how do i change

Your code so far


var myVar = 87;

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


Your browser information:

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

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

var myVar = 87;

// Only change code below this line

myVar++;

myVar = myVar + 1-> This one is used to increment one value by 1.
myVar+±> this one also gives the same result.So what you have to do is just write myVar++ which means myVar=myVar + 1;No need to write myVar=myVar++;

this website very time consuming