Skip to content

Commit f9b4b88

Browse files
committed
Fix handling of empty iterables
1 parent 360fc74 commit f9b4b88

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spec/Overview.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,7 @@ <h4>The digest method</h4>
19101910
</li>
19111911
<li>
19121912
<p>
1913-
While <code>|iterator|.[[\Done]]</code> is false:
1913+
Repeat:
19141914
</p>
19151915
<ol>
19161916
<li>
@@ -1925,6 +1925,11 @@ <h4>The digest method</h4>
19251925
|value| and then terminate these steps.
19261926
</p>
19271927
</li>
1928+
<li>
1929+
<p>
1930+
If |value| is `DONE`, terminate these steps.
1931+
</p>
1932+
</li>
19281933
<li>
19291934
<p>
19301935
Let |value| be the result of calling

0 commit comments

Comments
 (0)