I have troubles adding one more to my starting value using ++

I think my code its right, because myVar++; it’s ok.
do you can helpme in this?
myVar = 87;
I need one more…
Thank you

Your code so far


let myVar = 87;
myVar++;
console.log(myVar)


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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15

Challenge: Increment a Number with JavaScript

Link to the challenge:

You changed code above the comment saying ‘only make changes below this line’

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.