JavaScript Built In Operator -- (Decrement Prefix)
CSGNetwork FREE Source Code, Javascript Source, and Code Snippets!
CSGNetwork Custom Search
     Bookmark and Share
á
CSGNetwork
Snippets
Calculators
Top Free Apps
Home
Back



Right click this window and select "view source" in order to copy the source for this script.



JavaScript Built In Operator -- (Decrement Prefix)



View Source...

This is an operator designated for decrementing a value in math within JavaScript. This method is called prefix (the -- before the variable), there is a more common postfix method also which is slightly different. In the prefix operator, the increment takes place before the number or variable is used. Within parenthesis, they are the same. In an equation without parenthesis surrounding it, prefix or postfix precedence takes place. Compare this to Increment postfix.



Bookmark and Share
Registered® Trademark™ and Copyrightę 1973 - CSG, Computer Support Group, Inc. and CSGNetwork.Com All Rights Reserved