About equality operators

The equality operators take two operands, compare their values, and return a Boolean value. All of the operators in this table have equal precedence:

Operator

Operation performed

==

Equality

!=

Inequality

===

Strict equality

!==

Strict inequality

For information on using equality operators, see Using relational and equality operators.