Navigation Aids -- This Page | Navigation Aids -- This Topic | Navigation Aids -- This Site | ||
---|---|---|---|---|

Result Category | Sub Type | Operators | Comments |
---|---|---|---|

Side Effect | Number | prefix operators | pre-increment alters the operand by +1 and pre-decrement alters the operand by -1
the operand is altered before the expression is evaluated |

postfix operators | post-increment alters the operand by +1 and post-decrement alters the operand by -1
the operand is altered after the expression is evaluated |
||

left shift operator | the operand on the left has its bits shifted by the number in the right operand | ||

right shift operator | |||

right shift zero fill operator | |||

lvalue | simple assignment operator | the operand on the left is assigned the value of the right operand | |

compound assignment operators | The value on the right is assigned to the lvalue on the left after an operation is performed | ||

Undefined | void operator | the unary operand of the void operator becomes an undefined value | |

Call | parentheses operator | client-side function call passes program control to the named function | |

Returns a Value | Number | bitwise not operator | returns the bit complement of the unary operand |

multiplication operator | returns a number that represents the product | ||

division operator | returns a number that represents the quotient | ||

modulus operator | returns a number that represents the remainder | ||

addition operator | returns a number that represents the sum | ||

subtraction operator | returns a number that represents the difference | ||

bitwise AND operator | returns a number after the bits in the two operand are subjected to AND | ||

bitwise XOR operator | returns a number after the bits in the two operand are subjected to XOR | ||

bitwise OR operator | returns a number after the bits in the two operand are subjected to OR | ||

unary minus operator | the unary minus operator returns a number that is the negation of the value of the operand | ||

Boolean | logical not operator | returns the boolean complement of the unary operand | |

less than operators | returns the boolean value based on the compare | ||

greater than operators | |||

instanceof operator | tests if left operand is instance of right operand; returns a boolean value | ||

in operator | tests if left operand is property of right operand; returns a boolean value | ||

equality operators | tests if operands are equal; returns a boolean value | ||

identity operators | strict test if operands are equal; returns a boolean value | ||

logical AND operator | apply the AND truth rule and returns a boolean value | ||

logical OR operator | apply the OR truth rule and returns a boolean value | ||

conditional operator | evaluates the first operand to a boolean, if true, do the 2nd operand else do the third operand | ||

String | typeof operator | returns a string that indicates the data type of the unary operand | |

hybrid | Boolean | delete operator | the side effect is to undefine a property, however, the delete operator also returns a boolean |

No Operation | Number | unary plus operator | other than a possible type conversion, this operator does nothing |

Miscellaneous | Access | dot operator | access property of object |

bracket operator | access element of array | ||

Instantiate | new operator | create a new instance of an object | |

Comma | comma operator | facilitates more than one operation by making compound statements |