Operators
Operators and precedence
Last updated
Operators and precedence
Last updated
Precedence
Operator
Description
1
++
--
Postfix increment, decrement
()
Call
[]
Subscripting
.
Member access
?.
Member access (null conditional)
2
++
--
Prefix increment, decrement
-
Negative number
!
Logical NOT
~
Bitwise NOT
typeof
Type of value
3
**
Exponent
4
*
/
%
Factor
5
+
-
Term
6
<<
>>
Bitwise left shift, right shift