From f9b4b8868a6a570f909d82be022d33cd5baa710b Mon Sep 17 00:00:00 2001 From: Daniel Huigens Date: Mon, 6 Jan 2025 13:20:27 +0100 Subject: [PATCH] Fix handling of empty iterables --- spec/Overview.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/spec/Overview.html b/spec/Overview.html index e6179f4..81df83f 100644 --- a/spec/Overview.html +++ b/spec/Overview.html @@ -1910,7 +1910,7 @@

The digest method

  • - While |iterator|.[[\Done]] is false: + Repeat:

    1. @@ -1925,6 +1925,11 @@

      The digest method

      |value| and then terminate these steps.

    2. +
    3. +

      + If |value| is `DONE`, terminate these steps. +

      +
    4. Let |value| be the result of calling