Stats

75 Contributors: 2 Monday, March 13, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Operators

Remarks

Operators are evaluated in the following order:

  • Mathematical operators
  • Bitwise operators
  • Concatenation operators
  • Comparison operators
  • Logical operators

Operators with matching precedence are evaluated from left to right. The default order can be overridden by using parentheses ( and ) to group expressions.

Related Examples