Prefix operator (Definition)

Operators that are placed before the operand.

Prefix operators are placed immediately before their operands. The following prefix operators are supported:

OperatorDescription
++Increment the operand
--Decrement the operand

The meanings of some of these operators may vary in other contexts.

See also:Arithmetic operator, Associativity, Operator, Operator Precedence, Postfix operator, Prefix decrement (--), Prefix increment (++), Unary operator

Cross-references:

Wrox Instant JavaScript - page - 19