Operator precedence

All operators in Sidef have the same precedence, which is controlled by lack of whitespace between the operands.

For example:

1+2 * 3+4    # means: (1+2) * (3+4)

See also the documentationarrow-up-right on the precedence of operators.

Last updated

Was this helpful?