We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Operator Summary

The following tables list JScript operators. Each name in the description column links to a corresponding topic that explains the proper syntax and use.

All computational operators perform calculations with numeric data. The addition operator also performs string concatenation when either operand is a string.

A logical operator returns a Boolean value. Depending on the operator, the value may represent the result of the comparison, test, or combination.

Bitwise operators operate on the binary representation of the operands. If operands are not compatible with each other, they will be coerced to the appropriate type. For more information, see Coercion By Bitwise Operators.