Changes

Jump to: navigation, search

JavaScript Operators

31 bytes added, 14:45, 19 March 2009
Assignment Operators
In [[Introducing JavaScript Variables]] we looked at the '=' assignent operator. This is the most basic of assignment operators and serves to simply assign a value to a variable. For example y = 10 assigns the value of 10 to a variable called y.
<google>ADSDAQBOX_FLOW</google>
The '=' assignment operator does not make any changes to the value before it is assigned to the variable. A number of assignment operators are available, however, that perform arithmetic on the value before assigning it to the variable. These are essentially combined arithmetic and assignment operators. The most common operators of this type, and their "long hand" equivalents are shown below:

Navigation menu