Unary operators (++, --, +variable, -variable)

The simplest operators in JavaScript are unary operators. The unary operators are applied to only one value (thus the name "unary"). These opera...

Bitwise operators (~, |, |, ^, <<, >>, >>>)

The bitwise operators work with numbers on the core level of programming. Consider that all numbers are stored in a standard (IEEE-754) 64-bit format. During bitw...

Boolean (logical) operators (!, &&, ||)

The Boolean operators are used to compare two statements and direct the further

Multiplicative (arithmetic) operators (*, /, %)

The multiplicative operators are part of the arithmetic operators. There are three multiplicative operators; these are mul...

Additive (arithmetic) operators (+, -)

The additive operators are part of the arithmetic operators. There are two additive operators; these are add ("+&...

Relational (comparison) operators (<, >, <=, >=)

The relational operators are part of the comparison operators. There are four relational operators; these are les...

Equality (comparison) operators (==, !=, ===, !==)

The equality operators are part of the comparison operators. There are four equality operators; these are equal ("==")...

Conditional (ternary) operators (?, :)

The conditional operator allows a conditional assignment to a variable, depending on the

Assignment operators (=, *=, /=, %=, +=, -+, <<=, >>=, >>>=)

The main assignment operator is a regular equal sign ("="), for instance: var num = 8; In combinations with a

Comma operators (,)

The comma operator allows the execution of more than one operation in a single statement. Following example shows how that works: ...