JavaScript Statement: this
[this page | pdf | back links]
In JavaScript,
the this element allows you to
access the properties and methods of the object that defines whatever is being
considered at the time. A common use is to access the properties of an instance
of a class.
The this element then refers to
these properties, which can then be manipulated in the constructor, get and set and other
methods of the class.
NAVIGATION LINKS
Contents | Prev | Next | JavaScript Reserved Words