Overview of the Object Data Type
The ECMAScript standard uses the following description for an object:
A member of the type Object. It is an unordered collection of properties, each of which includes a primitive value, object, or function. A function stored in a property of an object is referred to as a method.
Siebel eScript does not use a class hierarchy that conforms to this ECMAScript standard. Instead, it instantiates an object in the following ways:
As an Object type
From an object that it instantiates as an Object type
These objects are new object types that Siebel eScript can use to instantiate other objects. Each object includes an implicit constructor function that it implements through the following command:
new
You can configure Siebel eScript to add properties dynamically to an object. An object inherits all the properties of the objects that reside in the ancestral chain of the object.
The object type known as Object is a generic object type. If you declare an object as an Object type, then it does not inherit properties from any object.
For more information, see Use a Primitive Data Type Instead of an Object Data Type.