Skip to content

Commit

Permalink
Editorial: Remove duplicate "current Realm" variable from CreateDynam…
Browse files Browse the repository at this point in the history
…icFunction (tc39#3177)
  • Loading branch information
shvaikalesh authored and ljharb committed Oct 24, 2023
1 parent f3f0369 commit 3d7c44c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -30202,8 +30202,7 @@ <h1>
1. Let _expr_ be ParseText(_sourceText_, _exprSym_).
1. If _expr_ is a List of errors, throw a *SyntaxError* exception.
1. Let _proto_ be ? GetPrototypeFromConstructor(_newTarget_, _fallbackProto_).
1. Let _realmF_ be the current Realm Record.
1. Let _env_ be _realmF_.[[GlobalEnv]].
1. Let _env_ be _currentRealm_.[[GlobalEnv]].
1. Let _privateEnv_ be *null*.
1. Let _F_ be OrdinaryFunctionCreate(_proto_, _sourceText_, _parameters_, _body_, ~non-lexical-this~, _env_, _privateEnv_).
1. Perform SetFunctionName(_F_, *"anonymous"*).
Expand Down

0 comments on commit 3d7c44c

Please sign in to comment.