From 8d3d3cfbbe03cb041e8468bcc13d9b292d801e77 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Wed, 15 Mar 2023 14:42:33 -0700 Subject: [PATCH] Editorial: mark a note step as a note (#3026) --- spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.html b/spec.html index 9964f92e8f..930f422bf6 100644 --- a/spec.html +++ b/spec.html @@ -45415,7 +45415,7 @@

1. Assert: If we return here, the generator either threw an exception or performed either an implicit or explicit return. 1. Remove _acGenContext_ from the execution context stack and restore the execution context that is at the top of the execution context stack as the running execution context. 1. Set _acGenerator_.[[GeneratorState]] to ~completed~. - 1. Once a generator enters the ~completed~ state it never leaves it and its associated execution context is never resumed. Any execution state associated with _acGenerator_ can be discarded at this point. + 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 _acGenerator_ can be discarded at this point. 1. If _result_.[[Type]] is ~normal~, let _resultValue_ be *undefined*. 1. Else if _result_.[[Type]] is ~return~, let _resultValue_ be _result_.[[Value]]. 1. Else,