Go back to home page of Unsolicited Advice from Tiffany B. Brown

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.