Increment a Number with JavaScript what's wrong!

Tell us what’s happening:

Your code so far

var myVar = 87;

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

// running tests

myVar = myVar + 1; should be changed

// tests completed

It’s a long shot, but can you get rid of the extra space between
myVar++ and ;?

myVar++ ; // there's a space in between

If I recall correctly the test for this lesson is pretty strict about it :slight_smile:

1 Like

Thanks bro , beginner mistakes

Glad it worked.
Happy coding :+1:

1 Like