Export (0) Print
Expand All

2.7.1 Function Definition Used As a Statement

Semantic Extensions

Internet Explorer ECMAScript allows a FunctionDeclaration element to be evaluated as a Statement production, as follows:

FunctionDeclaration : function Identifier ( FormalParameterListopt ) { FunctionBody }

When this production is evaluated, the following step is performed:

  • Return (normal, empty, empty).

Show:
© 2014 Microsoft