Mega Code Archive

 
Categories / JavaScript Tutorial / Operators
 

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.