Object is the primitive MetaScript object type. All MetaScript objects are descended from Object. That is, all MetaScript objects have the methods defined for Object.
Core object
Created by
The Object constructor:
new Object()
Parameters
None
Property Summary
Property | Description |
---|---|
constructor | Specifies the function that creates an object's prototype. |
prototype | Allows the addition of properties to all objects. |
Method Summary
Method | Description |
---|---|
Object.eval | Deprecated. Evaluates a string of MetaScript code in the context of the specified object. |
toSource | Returns an object literal representing the specified object; you can use this value to create a new object. |
toString | Returns a string representation of the specified object. |
Object.unwatch | Removes a watchpoint from a property of the object. |
valueOf | Returns the primitive value of the specified object. |
Object.watch | Adds a watchpoint to a property of the object. |