@@ -12554,7 +12554,7 @@ must be {{%IteratorPrototype%}}.
12554
12554
1. Perform [=!=] [$CreateDataPropertyOrThrow$](|array|, "<code>1</code>", |value|).
12555
12555
1. |result| is |array|.
12556
12556
</dl>
12557
- 1. Return [$CreateIterResultObject $](|result|, <emu-val>false</emu-val>).
12557
+ 1. Return [$CreateIteratorResultObject $](|result|, <emu-val>false</emu-val>).
12558
12558
</div>
12559
12559
12560
12560
<div algorithm="to invoke the next property of iterators">
@@ -12579,7 +12579,7 @@ must be {{%IteratorPrototype%}}.
12579
12579
1. Let |values| be |object|'s [=default iterator object/target=]'s [=value pairs to iterate over=].
12580
12580
1. Let |len| be the length of |values|.
12581
12581
1. If |index| is greater than or equal to |len|, then
12582
- return <a abstract-op>CreateIterResultObject </a>(<emu-val>undefined</emu-val>, <emu-val>true</emu-val>).
12582
+ return <a abstract-op>CreateIteratorResultObject </a>(<emu-val>undefined</emu-val>, <emu-val>true</emu-val>).
12583
12583
1. Let |pair| be the entry in |values| at index |index|.
12584
12584
1. Set |object|'s index to |index| + 1.
12585
12585
1. Return the [=iterator result=] for |pair| and |kind|.
@@ -12771,7 +12771,7 @@ The \[[Prototype]] [=/internal slot=] of an [=asynchronous iterator prototype ob
12771
12771
1. Let |nextSteps| be the following steps:
12772
12772
1. Let |nextPromiseCapability| be [=!=] [$NewPromiseCapability$]({{%Promise%}}).
12773
12773
1. If |object|'s [=default asynchronous iterator object/is finished=] is true, then:
12774
- 1. Let |result| be [$CreateIterResultObject $](<emu-val>undefined</emu-val>,
12774
+ 1. Let |result| be [$CreateIteratorResultObject $](<emu-val>undefined</emu-val>,
12775
12775
<emu-val>true</emu-val>).
12776
12776
1. Perform [=!=] [$Call$](|nextPromiseCapability|.\[[Resolve]],
12777
12777
<emu-val>undefined</emu-val>, « |result| »).
@@ -12785,7 +12785,7 @@ The \[[Prototype]] [=/internal slot=] of an [=asynchronous iterator prototype ob
12785
12785
null.
12786
12786
1. If |next| is [=end of iteration=], then:
12787
12787
1. Set |object|'s [=default asynchronous iterator object/is finished=] to true.
12788
- 1. Return [$CreateIterResultObject $](<emu-val>undefined</emu-val>,
12788
+ 1. Return [$CreateIteratorResultObject $](<emu-val>undefined</emu-val>,
12789
12789
<emu-val>true</emu-val>).
12790
12790
1. Otherwise, if |interface| has a [=pair asynchronously iterable declaration=]:
12791
12791
1. Assert: |next| is a [=value pair=].
@@ -12794,7 +12794,7 @@ The \[[Prototype]] [=/internal slot=] of an [=asynchronous iterator prototype ob
12794
12794
1. Assert: |interface| has a [=value asynchronously iterable declaration=].
12795
12795
1. Assert: |next| is a value of the type that appears in the declaration.
12796
12796
1. Let |value| be |next|, [=converted to a JavaScript value=].
12797
- 1. Return [$CreateIterResultObject $](|value|, <emu-val>false</emu-val>).
12797
+ 1. Return [$CreateIteratorResultObject $](|value|, <emu-val>false</emu-val>).
12798
12798
1. Let |onFulfilled| be [$CreateBuiltinFunction$](|fulfillSteps|, « »).
12799
12799
1. Let |rejectSteps| be the following steps, given |reason|:
12800
12800
1. Set |object|'s [=default asynchronous iterator object/ongoing promise=] to
@@ -12861,7 +12861,7 @@ The \[[Prototype]] [=/internal slot=] of an [=asynchronous iterator prototype ob
12861
12861
1. Let |returnSteps| be the following steps:
12862
12862
1. Let |returnPromiseCapability| be [=!=] [$NewPromiseCapability$]({{%Promise%}}).
12863
12863
1. If |object|'s [=default asynchronous iterator object/is finished=] is true, then:
12864
- 1. Let |result| be [$CreateIterResultObject $](|value|, <emu-val>true</emu-val>).
12864
+ 1. Let |result| be [$CreateIteratorResultObject $](|value|, <emu-val>true</emu-val>).
12865
12865
1. Perform [=!=] [$Call$](|returnPromiseCapability|.\[[Resolve]],
12866
12866
<emu-val>undefined</emu-val>, « |result| »).
12867
12867
1. Return |returnPromiseCapability|.\[[Promise]].
@@ -12885,7 +12885,7 @@ The \[[Prototype]] [=/internal slot=] of an [=asynchronous iterator prototype ob
12885
12885
running |returnSteps|.
12886
12886
12887
12887
1. Let |fulfillSteps| be the following steps:
12888
- 1. Return [$CreateIterResultObject $](|value|, <emu-val>true</emu-val>).
12888
+ 1. Return [$CreateIteratorResultObject $](|value|, <emu-val>true</emu-val>).
12889
12889
12890
12890
1. Let |onFulfilled| be [$CreateBuiltinFunction$](|fulfillSteps|, « »).
12891
12891
@@ -12954,7 +12954,7 @@ the <code>entries</code> property.
12954
12954
1. If |kind| is "<code>key</code>", let |result| be |key|.
12955
12955
1. Else if |kind| is "<code>value</code>", let |result| be |value|.
12956
12956
1. Else, let |result| be [$CreateArrayFromList$](« |key|, |value| »).
12957
- 1. Perform [=?=] [$GeneratorYield$]([$CreateIterResultObject $](|result|, <emu-val>false</emu-val>)).
12957
+ 1. Perform [=?=] [$GeneratorYield$]([$CreateIteratorResultObject $](|result|, <emu-val>false</emu-val>)).
12958
12958
12959
12959
Note: The [=map/size=] of |map|, and the order of its entries,
12960
12960
might have changed while execution of this abstract operation
@@ -13263,7 +13263,7 @@ the <code class="idl">values</code> property.
13263
13263
1. Set |entry| to be |entry| [=converted to a JavaScript value=].
13264
13264
1. If |kind| is "<code>value</code>", let |result| be |entry|.
13265
13265
1. Else, let |result| be [$CreateArrayFromList$](« |entry|, |entry| »).
13266
- 1. Perform [=?=] [$GeneratorYield$]([$CreateIterResultObject $](|result|, <emu-val>false</emu-val>)).
13266
+ 1. Perform [=?=] [$GeneratorYield$]([$CreateIteratorResultObject $](|result|, <emu-val>false</emu-val>)).
13267
13267
13268
13268
Note: The [=set/size=] of |set|, and the order of its entries,
13269
13269
might have changed while execution of this abstract operation
0 commit comments