Tiffany B. Brown

18 June 2010

Increment and decrement, prefix and postfix

I created this example of the increment (++) and decrement (--) operators in action because I needed to see how they work in combination.

I tested this example in Firefox, Safari, and later versions of Internet Explorer, but it probably works in Opera and Chrome as well.