Confirmed users
497
edits
No edit summary |
(Document Debugger.Environment.prototype.callee.) |
||
| Line 826: | Line 826: | ||
<dt>object | <dt>object | ||
<dd>A <code>Debugger.Object</code> instance referring to the object whose properties this environment reflects. If this is a declarative environment record, this accessor throws a <code>TypeError</code> (since declarative environment records have no such object). Both <code>"object"</code> and <code>"with"</code> environments have <code>object</code> properties that provide the object whose properties they reflect as variable bindings. | <dd>A <code>Debugger.Object</code> instance referring to the object whose properties this environment reflects. If this is a declarative environment record, this accessor throws a <code>TypeError</code> (since declarative environment records have no such object). Both <code>"object"</code> and <code>"with"</code> environments have <code>object</code> properties that provide the object whose properties they reflect as variable bindings. | ||
<dt>callee | |||
<dd>If this environment represents the variable environment (the top-level environment within the function, which receives <code>var</code> definitions) for a call to a function <i>f</i>, then this property's value is a <code>Debugger.Object</code> instance referring to <i>f</i>. Otherwise, this property's value is <code>null</code>. | |||
</dl> | </dl> | ||