JavaScript Operators
The following table shows the JavaScript Operators:
Operator | Description |
---|---|
++, -- | Pre- or post- increment and decrement |
+, -, *, /, % | Addition, subtraction, multiplication, division, remainder |
<, <=, >, >= | Less than, less than or equal to, more than, more than or equal to |
==, != | Equality and inequality tests |
!==, === | Nonidentity and Identity tests |
&&, || | Logical AND and OR |
= | Assignment |
+ | String concatenation |
?: | Three operand conditional statement |
Home
JavaScript Book
Language Basics
JavaScript Book
Language Basics
Operators:
- JavaScript Operators
- Increment/Decrement Operators
- Increment/Decrement Operators for String, Boolean, Floating-point and Object
- Unary Plus and Minus
- Bitwise Not operator
- Bitwise AND
- Bitwise OR
- Bitwise XOR
- Left Shift
- Signed Right Shift
- Unsigned Right Shift
- Logical NOT
- Logical AND
- Logical OR
- Multiply
- Divide
- Modulus
- Add
- Subtract
- Relational Operators
- Equal and Not Equal
- Identically Equal and Not Identically Equal
- Conditional Operator
- Assignment Operators
- Comma Operator