JavaScript Operator: assignment
[this page | pdf | back links]
In JavaScript,
the = operator is
the assignment operator.
For example, if x is 5
then y = x results in x remaining 5 and y
being set to 5, or if x is "b"
then y = x results in y becoming "b" too.
NAVIGATION LINKS
Contents | Prev | Next | JavaScript Operators