Postfix increment (++) (Operator/postfix)

Increment after access.

Availability:

ECMAScript edition - 2
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Property/method value type:Number primitive
JavaScript syntax:-anOperand++
Argument list:anOperandAn incrementable numeric value

The operand is incremented by one.

The operand is evaluated first and is then incremented when the evaluation is completed.

The associativity is from right to left.

Refer to the operator precedence topic for details of execution order.

See also:Associativity, Decrement value (--), Increment value (++), Operator Precedence, Postfix expression, Postfix operator, Prefix expression

Cross-references:

ECMA 262 edition 2 - section - 11.3.1

ECMA 262 edition 3 - section - 11.3.1