Postfix expression (Operator/postfix)

Increment or decrement an operand after access.

Availability:

ECMAScript edition - 2
Property/method value type:Number primitive

Postfix expressions operate on Left-Hand-Side (sometimes called LValue) expressions.

There are two postfix operators:

These can also be classified as additive operators and because they modify a value in place, they also imply that an assignment takes place as well.

See also:Additive operator, Assignment operator, Decrement value (--), Expression, Increment value (++), Postfix decrement (--), Postfix increment (++), Prefix expression

Cross-references:

ECMA 262 edition 2 - section - 11.3

ECMA 262 edition 3 - section - 11.3