Comparison Operators

  • JavaScript’s comparison operators are used in logical/conditional statements to determine if variables are equal to, less than, greater than, etc. another value or variable.
  • Comparison operators each have a symbol known as the operator that is used to perform the operation.
Comparison Operators JavaScript’s comparison operators are used in logical/conditional statements to determine if variables are equal to, less than, greater than, etc. another value or variable. Comparison operators each have a symbol known as the operator that is used to perform the operation.