From 7b793f20449d2f9d15cefa178d4e716c1b2bf600 Mon Sep 17 00:00:00 2001 From: Michael Dyck Date: Sat, 19 Oct 2024 15:18:59 -0400 Subject: [PATCH] Editorial: Change "Yield" to "GeneratorYield" in two Note-steps (PR #2548 unfolded many invocations of Yield, but didn't change the accompanying Note-steps.) --- spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.html b/spec.html index d1787a0dad..2d1ec3ef76 100644 --- a/spec.html +++ b/spec.html @@ -42293,7 +42293,7 @@

1. Assert: _kind_ is ~key+value~. 1. Let _result_ be CreateArrayFromList(« _e_.[[Key]], _e_.[[Value]] »). 1. Perform ? GeneratorYield(CreateIteratorResultObject(_result_, *false*)). - 1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by Yield. + 1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by GeneratorYield. 1. Set _numEntries_ to the number of elements in _entries_. 1. Return *undefined*. 1. Return CreateIteratorFromClosure(_closure_, *"%MapIteratorPrototype%"*, %MapIteratorPrototype%). @@ -42923,7 +42923,7 @@

1. Else, 1. Assert: _kind_ is ~value~. 1. Perform ? GeneratorYield(CreateIteratorResultObject(_e_, *false*)). - 1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by Yield. + 1. NOTE: The number of elements in _entries_ may have increased while execution of this abstract operation was paused by GeneratorYield. 1. Set _numEntries_ to the number of elements in _entries_. 1. Return *undefined*. 1. Return CreateIteratorFromClosure(_closure_, *"%SetIteratorPrototype%"*, %SetIteratorPrototype%).