Increment and decrement in action

Find out more about these JavaScript operators.

An example of i++ and i--

+ -

An example of ++i and --i

+ -

An example of ++i and i--

+ -

An example of i++ and --i

+ -

Creative Commons License
Increment and decrement in action by Tiffany B. Brown is licensed under a Creative Commons Attribution 3.0 United States License.