viptool / Reference Tables / JavaScript Operator Precedence
Reference Tables

JavaScript Operator Precedence

Use this table when reviewing or composing expressions.

ValueNameDescription
18Grouping: ( )Controls evaluation order.
17Member access: . []Access object properties.
16new (arguments)Create an instance.
15Postfix: x++ x--Post-increment or decrement.
14Unary: ! ~ + - typeofUnary operations; right-to-left.
13Exponentiation: **Power; right-to-left.
12Multiplicative: * / %Multiply, divide, remainder.
11Additive: + -Addition, concatenation, subtraction.
10Shift: << >> >>>Bit shifts.
9Relational: < <= > >= inRelational comparisons.
8Equality: == != === !==Equality comparisons.
7–5Bitwise: & ^ |Bitwise AND, XOR, OR.
4Logical AND: &&Short-circuit logical AND.
3Nullish / logical OR: ?? ||Fallback and short-circuit OR.
2Conditional: ?:Conditional expression; right-to-left.
1Assignment: = += …Assignment; right-to-left.

Source: MDN Operator precedenceReviewed: 2026-07-11

How to use JavaScript Operator Precedence

  1. Enter or select the data you want to process above.
  2. Select “Search” to run the tool.
  3. Review the result, then copy it or adjust the input and run again.

JavaScript Operator Precedence FAQ

Does this tool store my data?

The primary operation runs in your browser. Viptool does not upload or store the content you enter.

Why can the result differ from another website?

Results depend on the input format, calculation rules, and data update time. For live information, check the provider and timestamp shown with the result.