JS.12.1 Assignment Operators

An assignment operator assigns a value to its left operand based on the value of its right operand.

x = y;

Arithmetic operators and bitwise operators can be combined with the assignment operator as a short hand for performing a computation and assigning the results to a variable.

x += y;

<< JS.12 JavaScript Operators © 1996-2013 InetSoft Technology Corporation (v11.5) JS.12.2 Comparison Operators >>