Assignment Operators | ||
Use the assignment operators assign values to variables or properties. The simple assignment operator is =. It assigns the result of code block to variable. The complex assignment operators are +=, -=, *=, /=, %=, &=, |=, ^=, >>= and <<=. These operators use the result of code block and operate variable with it.
|