All expressions are evaluated from left to right, using standard notation. The order of operations, from lowest priority to highest is:
,
&& || | & #
< > <= =>
!= == << >>
+ -
* / %
^
! ~ ~~ ~~~ any function
(
Operators on the same line have equal priority and are evaluated from left to right.
This means that 1 + 2 * 3 equals the same thing as 3 * 2 + 1.
The meaning of these operators is described in the next few sections.