Operator Precedence

$ component selection
[...]   [[...]] subscripts
^ exponentiation
- unary minus
: sequence operator
%...% special operators
*      / multiplication division
+     - addition   subtraction
<   >   <=   >=   ==   != comparison operators
! logical not
&   |   &&   || logical and or
<-   <<-  ->   _ assignment

If you don't remember the precedence then just make use of round parentheses ( and ) to group the expression so it is unambiguous.