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: