An operator that performs some operation on single or multiple operands and produces a result is called Operators.
JS Comparison Operators
|==||Compares the equality of two operands without considering type.|
|===||Compares equality of two operands with type.|
|!=||Compares inequality of two operands.|
|>||Checks whether left side value is greater than right side value. If yes then returns true otherwise false.|
|<||Checks whether left operand is less than right operand. If yes then returns true otherwise false.|
|>=||Checks whether left operand is greater than or equal to right operand. If yes then returns true otherwise false.|
|<=||Checks whether left operand is less than or equal to right operand. If yes then returns true otherwise false.|
(a == b) => false (a < b) => true (a > b) => false (a != b) => true (a >= b) => false a <= b) => true Set the variables to different values and different operators and then try...
- JS-Arithmetic Operators
- JS-Logical Operators
- JS-Assignment Oerators
- JS-Conditional Operators (or) ternary Operator
- JS-Bitwise Operator
- JS-Increment Decrement Operator