Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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:

  1. Return (normal, empty, empty).

Show:
© 2015 Microsoft