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

6.4. Execution

When control is transferred to an ECMA Script, an execution context is instantiated and activated. Active execution contexts logically form a stack. The top execution context on this logical stack is the running execution context.

6.4.1. Function Objects

There are two types of Function objects: Program and internal functions. Program functions are defined in source text by a FunctionDeclaration or created dynamically either by using a FunctionExpression or by using the built-in Function object as a constructor. Internal functions are built-in objects of the language, such as parseInt and Math.exp. A script engine implementation may also provide implementation dependent internal functions that do not contain executable code defined by the ECMA Script grammar.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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