Its showing me error even i am doing it right i think its a bug

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

let myVar = 87;

// Only change code below this line
myVar++

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36

Challenge: Increment a Number with JavaScript

Link to the challenge:

Did you figure this out? The test wants you to add a semicolon to the end of the statement. Yes, technically you don’t need to and the test should probably be updated, but you really should use a semicolon at the end of each statement so I think the test is teaching you a good lesson :slight_smile:

There was a PR for it.

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