788 Appendix B: Operator Precedence and Associativity
add String concatenation (formerly &) Left to right
- Subtract Left to right
<< Bitwise left shift Left to right
>> Bitwise right shift Left to right
>>> Bitwise right shift (unsigned) Left to right
<Less than Left to right
<= Less than or equal to Left to right
> Greater than Left to right
>= Greater than or equal to Left to right
instanceof Instance of Left to right
lt Less than (string version) Left to right
le Less than or equal to (string version) Left to right
gt Greater than (string version) Left to right
ge Greater than or equal to (string version) Left to right
== Equal Left to right
!= Not equal Left to right
eq Equal (string version) Left to right
ne Not equal (string version) Left to right
& Bitwise AND Left to right
^ Bitwise XOR Left to right
| Bitwise OR Left to right
&& Logical AND Left to right
and Logical AND (Flash 4) Left to right
|| Logical OR Left to right
or Logical OR (Flash 4) Left to right
?: Conditional Right to left
= Assignment Right to left
*=, /=, %=, +=, -=, &=,
|=, ^=, <<=, >>=, >>>=
Compound assignment Right to left
, Comma Left to right
Lowest precedence
Operator Description Associativity