Here is a table summarizing all operators that can be classified as additive, even those which are primarily classified in other categories:
Additive operators perform numeric addition and subtraction or string concatenation depending on the native type of the operands.
It might seem perverse to call a subtraction symbol an additive operator, but the word additive is used in the same context as multiplicative when talking about division. That is, a negative value is added to perform subtraction. It's all about the kind of logic used in the interpreter kernel.
Prev | Home | Next |
Additive expression | Up | ADDRESS object |
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. |