Post-Increment : Postfix operator : Operators JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Operators » Postfix operator »

 

Post-Increment









The post-increment operator appears directly after the variable.

The operation begins by incrementing the variable by 1.

The post-increment operator returns the original value before it was incremented.

If either of the values is a string, an attempt is made to convert the string to a number.





HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Operators
» Postfix operator