In JavaScript, using comparison operators allows us to write decision making procedures . If a certain condition is met, JavaScript will execute an action, otherwise there is no action or it will take alternative action. The following are the comparison operators:

  • x==y
  • x!=y
  • x>y
  • x<y
  • x>=y
  • x<=y

You need to use the if and elseif keywords together with the comparison operators to write the decision making procedures.

learn more……………