- putProperty
Puts a named property in an object or in an object in its prototype chain.
Searches for the named p
- getProperty
Gets a named property from an object or any object in its prototype chain.
Searches the prototype c
- get
Returns the value of the named property or NOT_FOUND. If the property was
created using defineProper
- defineProperty
Utility method to add properties to arbitrary Scriptable object. If destination
is instance of Scrip
- put
Sets the value of the named property, creating it if need be. If the property
was created using defi
- defineClass
Defines JavaScript objects from a Java class, optionally allowing sealing and
mapping of Java inheri
- getTopLevelScope
Get the global scope.Walks the parent scope chain to find an object with a null
parent scope (the gl
- callMethod
Call a method of an object.
- hasProperty
Returns whether a named property is defined in an object or any object in its
prototype chain. Searc
- getObjectPrototype
Get the Object.prototype property. See ECMA 15.2.4.
- setParentScope
Sets the parent (enclosing) scope of the object.
- has
Returns true if the named property is defined.