Lesson

Increment a Number with Javascript, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn how to increment (add 1) to a variable a shorter way then having to right it out. Example, "myVar = myVar + 1;" is the exact same as writing "myVar++;"

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: