JavaScript Built In Operator ++ (Increment Postfix)
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 ++ (Increment Postfix)



View Source...

This is an operator designated for incrementing a value in math within JavaScript. Most commonly used in postfix (the ++ after the variable), there is a prefix 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 prefix.



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