The operand is evaluated, converted to a numeric value, and decremented by 1.
Although this is classified as a unary operator, its functionality is really that of an additive operator.
The associativity is from right to left.
Refer to the operator precedence topic for details of execution order.
ECMA 262 edition 2 - section - 11.4.5
ECMA 262 edition 2 - section - 11.6.3
ECMA 262 edition 3 - section - 11.4.5
Prev | Home | Next |
preferences.js | Up | Prefix expression |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |