Increment a Number

myVar = myVar + 1; should be changed
every time i am getting the same and not submitting the result

Your code so far

var myVar = 87;

// Only change code below this line

Your browser information:

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

Link to the challenge:

add a semi-colon ; to the end of your code.
that is _myVar++;

1 Like