Prefix expression (Operator/prefix)

Increment or decrement an operand before access.


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

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

There are two prefix 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 expression, Postfix increment (++), Prefix decrement (--), Prefix increment (++)


ECMA 262 edition 2 - section - 11.3

ECMA 262 edition 3 - section - 11.3