Assignment Operators

You use an assignment operator to assign a value to a variable. In addition to the = operator, there are several different forms that allow you to manipulate the data as you assign a value. Table 2.2 shows a list of the assignment operations, along with the results that are applied.

Image

Table 2.2 JavaScript’s assignment operators, with results based on x=10 initially

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.220.10.75