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: add description to Function Environment Records #3401

Closed
wants to merge 1 commit into from
Closed
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 @@ -10516,7 +10516,7 @@ <h1>WithBaseObject ( ): an Object or *undefined*</h1>

<emu-clause id="sec-function-environment-records" oldids="function-environment">
<h1>Function Environment Records</h1>
<p>A <dfn variants="Function Environment Records">Function Environment Record</dfn> is a Declarative Environment Record that is used to represent the top-level scope of a function and, if the function is not an |ArrowFunction|, provides a `this` binding. If a function is not an |ArrowFunction| function and references `super`, its Function Environment Record also contains the state that is used to perform `super` method invocations from within the function.</p>
<p>A <dfn variants="Function Environment Records">Function Environment Record</dfn> is a Declarative Environment Record that is used to represent the top-level scope of a function and, if the function is not an |ArrowFunction| function or |AsyncArrowFunction| function, provides a `this` binding. If a function is not an |ArrowFunction| function or |AsyncArrowFunction| function and references `super`, its Function Environment Record also contains the state that is used to perform `super` method invocations from within the function.</p>
<p>Function Environment Records have the additional state fields listed in <emu-xref href="#table-additional-fields-of-function-environment-records"></emu-xref>.</p>
<emu-table id="table-additional-fields-of-function-environment-records" caption="Additional Fields of Function Environment Records" oldids="table-16">
<table>
Expand Down Expand Up @@ -10552,7 +10552,7 @@ <h1>Function Environment Records</h1>
~lexical~, ~initialized~, or ~uninitialized~
</td>
<td>
If the value is ~lexical~, this is an |ArrowFunction| and does not have a local *this* value.
If the value is ~lexical~, this is an |ArrowFunction| or |AsyncArrowFunction| and does not have a local *this* value.
</td>
</tr>
<tr>
Expand Down
Loading