tag/attrib/value |
 |
 |
 |
 |
description |
Computational Operators
|
|
|
|
|
|
+
|
x |
2 |
1.0 |
|
Addition / String concatenation |
-
|
x |
2 |
1.0 |
|
Unary negation / Subtraction |
*
|
x |
2 |
1.0 |
|
Multiplication |
/
|
x |
2 |
1.0 |
|
Devision |
%
|
x |
2 |
1.0 |
|
Modulus (Remainder) |
++
|
x |
2 |
1.0 |
|
Increment |
--
|
x |
2 |
1.0 |
|
Decrement |
Comparison Operators
|
|
|
|
|
|
==
|
x |
2 |
1.0 |
|
Equality |
!=
|
x |
2 |
1.0 |
|
Inequality |
<
|
x |
2 |
1.0 |
|
Less than |
<=
|
x |
2 |
1.0 |
|
Less than or equal |
>
|
x |
2 |
1.0 |
|
Greater than |
>=
|
x |
2 |
1.0 |
|
Greater than or equal |
===
|
x |
1 |
1.3 |
|
Identity / Strict equality |
!==
|
x |
1 |
1.3 |
|
Nonidentity / Strict inequality |
Logical Operators
|
|
|
|
|
|
!
|
x |
2 |
1.0 |
|
Logical negation |
&&
|
x |
2 |
1.0 |
|
Logical AND |
||
|
x |
2 |
1.0 |
|
Logical OR |
Bitwise Operators
|
|
|
|
|
|
~
|
x |
2 |
1.0 |
|
Bitwise NOT |
<<
|
x |
2 |
1.0 |
|
Left shift |
>>
|
x |
2 |
1.0 |
|
Sign-propagating right shift |
>>>
|
x |
2 |
1.0 |
|
Zero-fill right shift |
&
|
x |
2 |
1.0 |
|
Bitwise AND |
|
|
x |
2 |
1.0 |
|
Bitwise OR |
^
|
x |
2 |
1.0 |
|
Bitwise XOR |
Assignment Operators
|
|
|
|
|
|
=
|
x |
2 |
1.0 |
|
Assignment |
+=
|
x |
2 |
1.0 |
|
Addition assignment / Concatenation assignment |
-=
|
x |
2 |
1.0 |
|
Subtraction assignment |
*=
|
x |
2 |
1.0 |
|
Multiplication assignment |
/=
|
x |
2 |
1.0 |
|
Division assignment |
%=
|
x |
2 |
1.0 |
|
Modulus assignment |
&=
|
x |
2 |
1.0 |
|
Bitwise AND assignment |
^=
|
x |
2 |
1.0 |
|
Bitwise XOR assignment |
|=
|
x |
2 |
1.0 |
|
Bitwise OR assignment |
<<=
|
x |
2 |
1.0 |
|
Left shift assignment |
>>=
|
x |
2 |
1.0 |
|
Sign-propagating right shift assignment |
>>>=
|
x |
2 |
1.0 |
|
Zero-fill right shift assignment |
OP=
|
x |
|
|
|
Compound assignment |
Miscellaneous Punctuators
|
|
|
|
|
|
? :
|
x |
2 |
1.0 |
|
Trinary (Conditional) |
,
|
x |
|
1.0 |
|
Comma |
{
|
x |
|
|
|
|
}
|
x |
|
|
|
|
(
|
x |
|
|
|
|
)
|
x |
|
|
|
|
[
|
x |
|
|
|
|
]
|
x |
|
|
|
|
.
|
x |
|
|
|
|
;
|
x |
|
|
|
|