diff --git a/spec.html b/spec.html index 7669b012fe..748a72ba1e 100644 --- a/spec.html +++ b/spec.html @@ -36124,7 +36124,7 @@

Changes to FunctionDeclarationInstantiation

During FunctionDeclarationInstantiation () the following steps are performed in place of step 29:

1. If _strict_ is *false*, then - 1. For each |FunctionDeclaration| _f_ in _varDeclarations_ that is directly contained in the |StatementList| of a |Block|, |CaseClause|, or |DefaultClause|, + 1. For each |FunctionDeclaration| _f_ that is directly contained in the |StatementList| of a |Block|, |CaseClause|, or |DefaultClause|, 1. Let _F_ be StringValue of the |BindingIdentifier| of |FunctionDeclaration| _f_. 1. If replacing the |FunctionDeclaration| _f_ with a |VariableStatement| that has _F_ as a |BindingIdentifier| would not produce any Early Errors for _func_ and _F_ is not an element of BoundNames of _argumentsList_, then 1. NOTE A var binding for _F_ is only instantiated here if it is neither a VarDeclaredName, the name of a formal parameter, or another |FunctionDeclaration|.