Learn JavaScript
Number
5.6
Lesson

Increase or decrease a number by one

We can use ++ to increment the value of a number by 1.

We can use -- to decrement the value of a number by 1.