Compound Assignment With Augmented Addition, freeCodeCamp Basic Javascript

Lesson Summary

In this lesson we are learning about compound assignment and how to rewrite our code in shorter format to be more efficient and clear. For example (myVar = myVar + 2) can be rewritten as (myVar += 2) and means the same thing.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required