2.6.1 Extension Grammar Production for Statement

Internet Explorer ECMAScript adds a FunctionDeclaration language syntactic element as an additional alternative to the Statement grammar production of [ECMA-262/5], section 12:

Syntax Extension

Statement:

FunctionDeclaration

A FunctionDeclaration element can occur in any context where a Statement production is required. The semantics of such declarations are specified in section 2.4.1 of this document.

Show: