Increment and decrement, prefix and postfix
I created this
example of the
++) 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.