From ecf1ac5d70ebbddb093cd41da0e3503db38c8516 Mon Sep 17 00:00:00 2001 From: Michael Ficarra Date: Tue, 17 Sep 2024 18:29:47 -0600 Subject: [PATCH] add an explicit return step --- spec.emu | 1 + 1 file changed, 1 insertion(+) diff --git a/spec.emu b/spec.emu index f602c7a..af3f153 100644 --- a/spec.emu +++ b/spec.emu @@ -39,6 +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 CreateIteratorFromClosure(_closure_, *"Iterator Helper"*, %IteratorHelperPrototype%, « »).