Skip to content

Commit 03384d2

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 6c250aa commit 03384d2

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
@@ -8624,7 +8624,7 @@ <h1>FunctionDeclarationInstantiation ( _func_, _argumentsList_ )</h1>
86248624
1. If *"arguments"* is an element of _functionNames_ or if *"arguments"* is an element of _lexicalNames_, then
86258625
1. Set _argumentsObjectNeeded_ to *false*.
86268626
1. If _strict_ is *true* or if _hasParameterExpressions_ is *false*, then
8627-
1. NOTE: Only a single lexical environment is needed for the parameters and top-level vars.
8627+
1. NOTE: Only a single Environment Record is needed for the parameters and top-level vars.
86288628
1. Let _env_ be the LexicalEnvironment of _calleeContext_.
86298629
1. Else,
86308630
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)