Assignment Operators

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

Image

Table 1.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