Basic JavaScript - Increment a Number with JavaScript

Tell us what’s happening:
I am trying to complete ‘Increment a Number with JavaScript’ and as it looks the code is exactly what it should be, but still its showing errors. not sure what is missing. pls help
Your code so far

var myVar = 87;

// Only change code below this line

// running tests
You should not use the assignment operator.
You should not change code above the specified comment.
// tests completed

Your browser information:

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

Challenge: Basic JavaScript - Increment a Number with JavaScript

Link to the challenge:

You changed this line, possibly while copying an old answer you found somewhere. Changing this line is causing the failure.

I did the code rest and than change only code after the comment line

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