This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
This feature has been removed from the Web. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.
Return the function bound as a getter to the specified property.
|ECMAScript Edition||None, but see getOwnPropertyDescriptor and getPrototypeOf.|
- a string containing the name of the property whose getter should be returned
If a getter has been defined for an object's property, it's not possible to reference the getter function through that property, because that property refers to the return value of that function.
__lookupGetter__ can be used to obtain a reference to the getter function.