Skip to content

Commit c988faf

Browse files
committed
Editorial: Change "lexical environment" to "Environment Record"
... in FunctionDeclarationInstantiation, to balance the NOTE in the other arm of the if-else, and also for consistency with the NOTE at 27.a. (I should have done this in PR tc39#1697.)
1 parent aaabe32 commit c988faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8619,7 +8619,7 @@ <h1>FunctionDeclarationInstantiation ( _func_, _argumentsList_ )</h1>
86198619
1. If *"arguments"* is an element of _functionNames_ or if *"arguments"* is an element of _lexicalNames_, then
86208620
1. Set _argumentsObjectNeeded_ to *false*.
86218621
1. If _strict_ is *true* or if _hasParameterExpressions_ is *false*, then
8622-
1. NOTE: Only a single lexical environment is needed for the parameters and top-level vars.
8622+
1. NOTE: Only a single Environment Record is needed for the parameters and top-level vars.
86238623
1. Let _env_ be the LexicalEnvironment of _calleeContext_.
86248624
1. Else,
86258625
1. NOTE: A separate Environment Record is needed to ensure that bindings created by direct eval calls in the formal parameter list are outside the environment where parameters are declared.

0 commit comments

Comments
 (0)