From 8220d5f21c82f6f45f2471d47659e60c8b5ede11 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Thu, 19 Sep 2024 18:05:30 -0600 Subject: [PATCH] ReturnCompletion(*undefined*) instead of NormalCompletion(~unused~) --- spec.emu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.emu b/spec.emu index af3f153..4c0710f 100644 --- a/spec.emu +++ b/spec.emu @@ -39,7 +39,7 @@ copyright: false 1. Let _record_ be the Iterator Record { [[Iterator]]: _iter_, [[NextMethod]]: _nextMethod_, [[Done]]: true }. 1. Set _completion_ to Completion(IteratorClose(_iteratorRecord_, _completion_)). 1. Return ? _completion_. - 1. Return NormalCompletion(~unused~). + 1. Return ReturnCompletion(*undefined*). 1. Return CreateIteratorFromClosure(_closure_, *"Iterator Helper"*, %IteratorHelperPrototype%, « »).