this

The this keyword refers to the current object. In general, in a method this refers to the calling object.

Syntax

this[.propertyName]

Examples

Suppose a function called validate validates an object's value property, given the object and the high and low values:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.