🚧table of operators
🚧 under construction -> fix table precedence
JS ⟩ statement ⟩ expression ⟩ operator ⟩ table of operators
property access and invocation expressions have higher precedence than any of the operators.
P
Operator
Operation
A
N
Types
15
++
post-increment
🈚
null
null
--
post-decrement
🈚
null
0
-
unary - (negative)
🈚
1
num -> num
0
<<
shift left
L
2
(i, i) -> i
0
>>
shift right (sign extension)
L
2
(i, i) -> i
0
>>>
shift right (0 extension)
L
2
(i, i) -> i
0
!=
not equal (sloppy)
L
2
(a, a) -> b
0
!==
not equal (strict)
L
2
(a, a) -> b
0
&
bitwise AND
L
2
(i, i) -> i
0
^
bitwise XOR
L
2
(i, i) -> i
0
|
bitwise OR
L
2
(i, i) -> i
Last updated