This is the ThingsDB documentation for version v0, click here for the latest version!

Precedence and associativity

Symbol Type of operation Associativity
() Expression parenthesis Left-to-right
! Not operator Right-to-left
* / % Multiplication, Modulo, Division Left-to-right
+ - Add, Subtract Left-to-right
& Bitwise AND Left-to-right
^ Bitwise XOR Left-to-right
` ` Bitwise OR
== != <= >= < > Compare Left-to-right
&& Logical AND Left-to-right
` `
? : Conditional Right-to-left
= *= /= %= += -= &= ^= ` =` Assignments