This repository was archived by the owner on Jul 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,9 @@ <h1>Set.prototype.isSupersetOf ( _other_ )</h1>
157
157
1. Set _next_ to ? IteratorStep(_keysIter_ ).
158
158
1. If _next_ is not *false* , then
159
159
1. Let _nextValue_ be ? IteratorValue(_next_ ).
160
- 1. If SetDataHas(_O_ .[[SetData]], _nextValue_ ) is *false* , return *false* .
160
+ 1. If SetDataHas(_O_ .[[SetData]], _nextValue_ ) is *false* , then
161
+ 1. Perform ? IteratorClose(_keysIter_ , NormalCompletion(~unused~ )).
162
+ 1. Return *false* .
161
163
1. Return *true* .
162
164
</emu-alg >
163
165
</emu-clause >
@@ -182,7 +184,9 @@ <h1>Set.prototype.isDisjointFrom ( _other_ )</h1>
182
184
1. Set _next_ to ? IteratorStep(_keysIter_ ).
183
185
1. If _next_ is not *false* , then
184
186
1. Let _nextValue_ be ? IteratorValue(_next_ ).
185
- 1. If SetDataHas(_O_ .[[SetData]], _nextValue_ ) is *true* , return *false* .
187
+ 1. If SetDataHas(_O_ .[[SetData]], _nextValue_ ) is *true* , then
188
+ 1. Perform ? IteratorClose(_keysIter_ , NormalCompletion(~unused~ )).
189
+ 1. Return *false* .
186
190
1. Return *true* .
187
191
</emu-alg >
188
192
</emu-clause >
You can’t perform that action at this time.
0 commit comments