The relational operators take two operands, compare their values and returns a Boolean value.
All of the operators in this table have equal precedence.
All of the operators in this table have equal precedence.
| Operator | Operation performed |
| < | Less than |
| > | Greater than |
| <- | Less than or equal to |
| >- | Greater than or equal to |
| instanceof | Checks prototype chain |
| in | Checks for object properties |
| is | Checks data type |