• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Script Content > Native Objects

6.9. Native Objects

There are certain built-in objects available whenever an ECMA Script program begins execution. One, the global object, is in the scope chain of the executing program. Others are accessible as initial properties of the global object. If that built-in object has a [[Call]] property, then by default, the [[Class]] property of a built-in object is “Function”; otherwise, the [[Class]] property specifies an “Object”.

Many built-in objects are functions: they can be invoked with arguments. Some of them are constructor functions intended for use with the new operator. Each built-in function is associated with required arguments and a reference to a Function object that is associated with predefined properties. Each built-in constructor has predefined properties for the prototype object of that constructor and predefined properties returned by a new expression that invokes that constructor.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint