About operators 187
All of the operators in this table have equal precedence:
About multiplicative operators
The multiplicative operators take two operands and perform multiplication, division, or
modulo calculations. Other numeric operators include additive operators. For information on
additive operators, see “About additive operators” on page 187.
All of the operators in this table have equal precedence:
For information on using multiplicative operators, see “Using numeric operators”
on page 188.
About additive operators
The additive operators take two operands and perform addition or subtraction calculations.
Other numeric operators include multiplicative operators. For information on multiplicative
operators, see “About multiplicative operators” on page 187.
The operators in this table have equal precedence:
For information on using additive operators, see “Using numeric operators” on page 188.
Operator Operation performed
++
Increment (prefix)
--
Decrement (prefix)
+
Unary +
!
Unary - (negation)
typeof
Returns type information
void
Returns undefined value
Operator Operation performed
*
Multiplication
/
Division
%
Modulo
Operator Operation performed
+
Addition
-
Subtraction