Assignment Operators

Arithmetic Operators

Bitwise Operators

These convert operand(s) to 32 bits and then perform work on them. In the examples provided, the binary is shown instead of the decimal, for the sake of visual clarity.

Logical Operators

These are typically used with Boolean operands to return Boolean values but for JS 1.1, some of these operators can also be used to return one of the operands, thus effectively "overloading" these operands to work as yet another if ... else shorthand. This makes the order of operands relevant!

Comparison Operators

NaN is not equal to anything, including NaN. Null and Undefined are equal.

String Operators

Other Operators

Operator Precedence

From low to high:

Page Modified: (Hand noted: 2008-04-30 21:12:20Z) (Auto noted: 2009-04-02 19:58:02Z)