Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: Have NewGlobalEnvironment invoke NewDeclarativeEnvironment #2891

Merged
merged 1 commit into from
Sep 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -11492,7 +11492,7 @@ <h1>
<emu-clause id="sec-newdeclarativeenvironment" type="abstract operation">
<h1>
NewDeclarativeEnvironment (
_E_: an Environment Record,
_E_: an Environment Record or *null*,
): a Declarative Environment Record
</h1>
<dl class="header">
Expand Down Expand Up @@ -11554,7 +11554,7 @@ <h1>
</dl>
<emu-alg>
1. Let _objRec_ be NewObjectEnvironment(_G_, *false*, *null*).
1. Let _dclRec_ be a new Declarative Environment Record containing no bindings.
1. Let _dclRec_ be NewDeclarativeEnvironment(*null*).
1. Let _env_ be a new Global Environment Record.
1. Set _env_.[[ObjectRecord]] to _objRec_.
1. Set _env_.[[GlobalThisValue]] to _thisValue_.
Expand Down