Why isnt this working?

I need help why isn’t this working??? Add the full code pls.


var myVar = 87

// Only change code below this line
myVar++

Challenge: Increment a Number with JavaScript

Link to the challenge:

you want to display output ??

add a semicolon ;;;;;;;;

write “console.log(myVar);”

the challenge wants him to just use the ++ operator, he doesn’t need to console log anything
just type myVar++;

Add a “;” at the end of the lines with commands, then it should work.

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