From 4a0ad6ba2432e4fd28f5d512f8599261958b0ee9 Mon Sep 17 00:00:00 2001 From: Jungyeom Kim Date: Thu, 24 Oct 2024 18:01:46 -0500 Subject: [PATCH] Editorial: Use suspended-start instead of `undefined` in GeneratorState initialization (#3438) --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index a2163cab2a..20d7451a51 100644 --- a/spec.html +++ b/spec.html @@ -48864,7 +48864,7 @@

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*.