Skip to content

Commit

Permalink
Editorial: Use suspended-start instead of undefined in GeneratorSta…
Browse files Browse the repository at this point in the history
…te initialization (#3438)
  • Loading branch information
kimjg1119 authored and ljharb committed Oct 24, 2024
1 parent fceabf7 commit 4a0ad6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -48864,7 +48864,7 @@ <h1>
1. Let _internalSlotsList_ be the list-concatenation of _extraSlots_ and « [[GeneratorState]], [[GeneratorContext]], [[GeneratorBrand]] ».
1. Let _generator_ be OrdinaryObjectCreate(_generatorPrototype_, _internalSlotsList_).
1. Set _generator_.[[GeneratorBrand]] to _generatorBrand_.
1. Set _generator_.[[GeneratorState]] to *undefined*.
1. Set _generator_.[[GeneratorState]] to ~suspended-start~.
1. Let _callerContext_ be the running execution context.
1. Let _calleeContext_ be a new execution context.
1. Set the Function of _calleeContext_ to *null*.
Expand Down

0 comments on commit 4a0ad6b

Please sign in to comment.