Comparison Operators Comparison operators are used for comparing the values of two expressions. Equality (==) Comparison OperatorCompares two expressions for value equality. Greater Than (>) Comparison OperatorReturns true if the left operand is greater than the right operand. Greater Than or Equal To (>=) Comparison OperatorReturns true if the left operand is greater than or equal to the right operand. Inequality (!=) Comparison OperatorCompares two expressions for value inequality. Less Than (<) Comparison OperatorReturns true if the left operand is less than the right operand. Less Than or Equal To (<=) Comparison OperatorReturns true if the left operand is less than or equal to the right operand. Strict Equality (===) Comparison OperatorCompares two expressions for value and type equality. Strict Inequality (!==) Comparison OperatorCompares two expressions for value and type inequality. Share HTML | BBCode | Direct Link