Relational Operators

A comparison operator compares the value of the left operand to the value of the right operand and returns a boolean value indicating whether they are equal or not.

Relational Operators

console.log(3>2);  // true
console.log(3<2);  // false
console.log(3>=3); // true
console.log(3<=2); // false

Last updated