Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 20, 2022 12:18 pm GMT

Operators in JavaScript

Operators in JavaScript

  • Basic Operators
  • Comparison Operators
  • Logical Operators
  • Bitwise Operators

Basic Operators

  1. + Addition
  2. - Subtraction
  3. * Multiplication
  4. / Division
  5. % Modulus
  6. ++ Increment
  7. -- Decrement
  8. () Group

Comparision Operators

  1. == Equal Value
  2. === Equal Value And Same Type
  3. != Not Equal Value
  4. !== Not Equal Value And Different Type
  5. > Greater Than
  6. < Less Than
  7. >= Greater than and Equal to
  8. <= Lesser than and Equal to.

Logical Operators

  1. && Logical And
  2. || Logical OR
  3. ! Logical Not

BitWise Operators

  1. & AND statement
  2. | OR statement
  3. ~ NOT
  4. ^ XOR
  5. << Zero fill left shift
  6. >> Signed right shift
  7. >>> Zero Fill right shift

Original Link: https://dev.to/hardikmirg/operators-in-javascript-258e

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To