-
Notifications
You must be signed in to change notification settings - Fork 32
Language ~ Operators
Frank Wienberg edited this page Mar 14, 2014
·
2 revisions
The operator precedence of Jangaroo follows the rules of ActionScript. The following list orders the operators with increasing precedence:
-
=
*=
/=
%=
+=
-=
=
>>>=
&=
^=
|= -
?:(ternary) ||&&|^&-
==
!=
===
!== -
<
>
=
as
in
instanceof
is -
>
>>> -
+
- -
*
/
% -
++(prefix)
--(prefix)
+(prefix)
-(prefix)
!*(prefix)
~(prefix)
typeof(prefix) -
.
()(postfix)
[](postfix)
{}(postfix) -
++(postfix)
--(postfix) ::
Operators are binary unless noted otherwise. Operators within one bullet point have got equal precedence.
