Group
Additive
Bitwise shift
Relational
Equality
Bitwise AND
Bitwise XOR
Bitwise OR
Logical AND
Logical OR
Conditional
Assignment
Comma
Primary operators
The primary operators include those used for creating Array and Object literals, grouping
expressions, calling functions, instantiating class instances, and accessing properties.
All the primary operators, as listed in the following table, have equal precedence. Operators
that are part of the E4X specification are indicated by the (E4X) notation.
Operator
[]
{x:y}
()
f(x)
new
x.y x[y]
<></>
@
::
..
80
ActionScript Language and Syntax
Operators
+ -
<< >> >>>
< > <= >= as in instanceof is
== != === !==
&
^
|
&&
||
?:
= *= /= %= += -= <<= >>= >>>= &= ^= |=
,
Operation performed
Initializes an array
Initializes an object
Groups expressions
Calls a function
Calls a constructor
Accesses a property
Initializes an XMLList object (E4X)
Accesses an attribute (E4X)
Qualifies a name (E4X)
Accesses a descendant XML element (E4X)