Expressions

Top  Previous  Next

Preced.

Operator

Ops

Operation

More info...

1

.

2

object member reference

Member Reference Operators

[]

2

element reference

Member Reference Operators

2

++

1

pre-increment or post-increment

Increment and Decrement Operators

--

1

pre-decrement or post-decrement

Increment and Decrement Operators

typeof

1

type name

typeof Operator

~

1

bitwise NOT

Unary Operators

!

1

logical NOT

Unary Operators

+

1

unary plus

Unary Operators

-

1

negation

Unary Operators

3

*

2

multiplication

Arithmetic Operators

/

2

division

Arithmetic Operators

%

2

modulo

Arithmetic Operators

4

+

2

addition or string concatenation

Arithmetic Operators

-

2

subtraction

Arithmetic Operators

5

<<

2

left shift

Shift Operators

>>

2

right shift sign fill

Shift Operators

>>>

2

right shift zero fill

Shift Operators

6

<

2

less than

Relational Operators

<=

2

less than or equal

Relational Operators

>

2

greater than

Relational Operators

>=

2

greater than or equal

Relational Operators

7

==

2

equality

Equality Operators

!=

2

inequality

Equality Operators

===

2

strict equality

Strict Equality Operators

!==

2

strict inequality

Strict Equality Operators

8

&

2

bitwise AND

Bitwise Operators

9

^

2

bitwise XOR (exclusive-OR)

Bitwise Operators

10

|

2

bitwise OR

Bitwise Operators

11

&&

2

logical AND

Logical Operators

12

||

2

logical OR

Logical Operators

13

? :

3

conditional

Conditional Operator

14

=

2

assignment

Assignment Operators

*=

2

multiplication assignment

Assignment Operators

/=

2

division assignment

Assignment Operators

%=

2

modulo assignment

Assignment Operators

+=

2

addition assignment

Assignment Operators

-=

2

subtraction assignment

Assignment Operators

<<=

2

left shift assignment

Assignment Operators

>>=

2

right shift sign fill assignment

Assignment Operators

>>>=

2

right shift zero fill assignment

Assignment Operators

&=

2

bitwise AND assignment

Assignment Operators

^=

2

bitwise XOR assignment

Assignment Operators

|=

2

bitwise OR assignment

Assignment Operators

15

,

2

comma

Comma Operator