Section | Category | Operators |
---|---|---|

14.5 | Primary | x.y f(x) [x] x++ x-- new typeof checked unchecked |

14.6 | Unary | + - ! ~ ++x --x (T)x |

14.7 | Multiplicative | * / % |

14.7 | Additive | + - |

14.8 | Shift | << >> |

14.9 | Relational and type-testing |
< > <= >= is as |

14.9 | Equality | == != |

14.10 | Logical AND | & |

14.10 | Logical XOR | ^ |

14.10 | Logical OR | | |

14.11 | Conditional AND | && |

14.11 | Conditional OR | || |

14.12 | Conditional | ?: |

14.13 | Assignment | = *= /= %= +-= -= <<= >>= &= ^= |= |

- Except for the assignment operators, all binary operators are left-associative, meaning that operations are performed from left to right. For example, x + y + z is evaluated as (x + y) + z.
- The assignment operators and the conditional operator (?:) are right-associative, meaning that operations are performed from right to left. For example, x = y = z is evaluated as x = (y = z).

| |

Jagger Software Ltd | |

Company # 4070126 | |

VAT # 762 5213 42 |