Changes

Jump to: navigation, search

JavaScript Operators

1 byte added, 18:29, 15 April 2009
Assignment Operators
== Assignment Operators ==
In [[Introducing JavaScript Variables]] we looked at the '=' assignent assignment 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