Skip to content

Commit

Permalink
Editorial: fix assertion in IteratorBindingInitialization
Browse files Browse the repository at this point in the history
  • Loading branch information
devsnek committed Nov 25, 2018
1 parent 7acacc5 commit 53102ff
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 @@ -18346,7 +18346,7 @@ <h1>Runtime Semantics: IteratorBindingInitialization</h1>
1. Let _currentContext_ be the running execution context.
1. Let _originalEnv_ be the VariableEnvironment of _currentContext_.
1. Assert: The VariableEnvironment and LexicalEnvironment of _currentContext_ are the same.
1. Assert: _environment_ and _originalEnv_ are the same.
1. Assert: If _environment_ is not *undefined*, then _environment_ and _originalEnv_ are the same.
1. Let _paramVarEnv_ be NewDeclarativeEnvironment(_originalEnv_).
1. Set the VariableEnvironment of _currentContext_ to _paramVarEnv_.
1. Set the LexicalEnvironment of _currentContext_ to _paramVarEnv_.
Expand All @@ -18364,7 +18364,7 @@ <h1>Runtime Semantics: IteratorBindingInitialization</h1>
1. Let _currentContext_ be the running execution context.
1. Let _originalEnv_ be the VariableEnvironment of _currentContext_.
1. Assert: The VariableEnvironment and LexicalEnvironment of _currentContext_ are the same.
1. Assert: _environment_ and _originalEnv_ are the same.
1. Assert: If _environment_ is not *undefined*, then _environment_ and _originalEnv_ are the same.
1. Let _paramVarEnv_ be NewDeclarativeEnvironment(_originalEnv_).
1. Set the VariableEnvironment of _currentContext_ to _paramVarEnv_.
1. Set the LexicalEnvironment of _currentContext_ to _paramVarEnv_.
Expand Down

0 comments on commit 53102ff

Please sign in to comment.