Operators in JavaScript
What is an operator? Consider a simple expression 2 + 5 equals to 7. Here, 2 and 5 are called operands and the ‘+’ is called operator. JavaScript supports the following 5 types of operators: Arithmetic Operators Comparison Operators Logical (or Relational) Operators Assignment Operators Conditional (or ternary) Operators Arithmetic Operators JavaScript supports the following arithmetic operators − Lets … Read more