From c5c8bfb860819d57de0a87826c82ea12897f4097 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Mon, 16 Oct 2017 18:11:55 -0400 Subject: [PATCH] Editorial: fix 2 typos from recent commit --- spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.html b/spec.html index d4db9bf4195..ce54b1c0c68 100644 --- a/spec.html +++ b/spec.html @@ -7588,7 +7588,7 @@

FunctionDeclarationInstantiation ( _func_, _argumentsList_ )

1. Let _parameterBindings_ be a new List of _parameterNames_ with `"arguments"` appended. 1. Else, 1. Let _parameterBindings_ be _parameterNames_. - 1. Let _iteratorRecord_ be CreateListIterator(_argumentsList_). + 1. Let _iteratorRecord_ be CreateListIteratorRecord(_argumentsList_). 1. If _hasDuplicates_ is *true*, then 1. Perform ? IteratorBindingInitialization for _formals_ with _iteratorRecord_ and *undefined* as arguments. 1. Else, @@ -19413,7 +19413,7 @@

Runtime Semantics: Evaluation

1. Set _received_ to GeneratorYield(_innerResult_). 1. Else, 1. NOTE: If _iterator_ does not have a `throw` method, this throw is going to terminate the `yield*` loop. But first we need to give _iterator_ a chance to clean up. - 1. Perform ? IteratorClose(_iteratorResult_, Completion{[[Type]]: ~normal~, [[Value]]: ~empty~, [[Target]]: ~empty~}). + 1. Perform ? IteratorClose(_iteratorRecord_, Completion{[[Type]]: ~normal~, [[Value]]: ~empty~, [[Target]]: ~empty~}). 1. NOTE: The next step throws a *TypeError* to indicate that there was a `yield*` protocol violation: _iterator_ does not have a `throw` method. 1. Throw a *TypeError* exception. 1. Else,