Skip to content

Commit

Permalink
Tweak note wording; fix stray word
Browse files Browse the repository at this point in the history
  • Loading branch information
syg committed Nov 20, 2023
1 parent 087e753 commit 36c0034
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -10933,7 +10933,7 @@ <h1>GetThisBinding ( ): a normal completion containing an Object</h1>
1. Return _envRec_.[[GlobalThisValue]].
</emu-alg>
</emu-clause>
has

<emu-clause id="sec-haslexicaldeclaration" type="concrete method">
<h1>
HasLexicalDeclaration (
Expand Down Expand Up @@ -25907,7 +25907,7 @@ <h1>
1. For each element _name_ of _lexNames_, do
1. If _env_.HasLexicalDeclaration(_name_) is *true*, throw a *SyntaxError* exception.
1. Let _hasRestrictedGlobal_ be ? _env_.HasRestrictedGlobalProperty(_name_).
1. NOTE: `var` bindings that are not introduced by non-strict direct eval are non-configurable and are considered restricted global properties.
1. NOTE: Global `var` and `function` bindings (except those that are introduced by non-strict direct eval) are non-configurable and are therefore restricted global properties.
1. If _hasRestrictedGlobal_ is *true*, throw a *SyntaxError* exception.
1. For each element _name_ of _varNames_, do
1. If _env_.HasLexicalDeclaration(_name_) is *true*, throw a *SyntaxError* exception.
Expand Down

0 comments on commit 36c0034

Please sign in to comment.