Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit f1427ec

Browse files
update generator state enum from "suspendedStart" to "suspended-start" (#291)
1 parent f939dfd commit f1427ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ <h1>%IteratorHelperPrototype%.return ( )</h1>
286286
1. Let _O_ be *this* value.
287287
1. Perform ? RequireInternalSlot(_O_, [[UnderlyingIterator]]).
288288
1. Assert: _O_ has a [[GeneratorState]] slot.
289-
1. If _O_.[[GeneratorState]] is ~suspendedStart~, then
289+
1. If _O_.[[GeneratorState]] is ~suspended-start~, then
290290
1. Set _O_.[[GeneratorState]] to ~completed~.
291291
1. NOTE: Once a generator enters the completed state it never leaves it and its associated execution context is never resumed. Any execution state associated with _O_ can be discarded at this point.
292292
1. Perform ? IteratorClose(_O_.[[UnderlyingIterator]], NormalCompletion(~unused~)).

0 commit comments

Comments
 (0)