Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
Use wording consistent with the current spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed May 21, 2018
1 parent a3b7a06 commit c1774c5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
4 changes: 1 addition & 3 deletions spec/set-prototype-difference.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p>When the `difference` method is called, the following steps are taken:</p>
<p>When the `difference` method is called with argument _iterable_, the following steps are taken:</p>

<emu-alg>
1. Let _set_ be the *this* value.
Expand All @@ -15,8 +15,6 @@
3. Let _nextValue_ be ? IteratorValue(_next_).
4. Let _status_ be Call(_remover_, _newSet_, « _nextValue_.[[Value]] »)
5. If _status_ is an abrupt completion, return ? IteratorClose(_iter_, _status_)


</emu-alg>

<p>The `length` property of the `difference` method is *1*.</p>
3 changes: 1 addition & 2 deletions spec/set-prototype-intersect.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p>When the `intersect` method is called, the following steps are taken:</p>
<p>When the `intersect` method is called with argument _iterable_, the following steps are taken:</p>

<emu-alg>
1. Let _set_ be the *this* value.
Expand All @@ -20,7 +20,6 @@
1. If _has_ is *true*,
1. Let _status_ be Call(_adder_, _newSet_, « _nextValue_.[[Value]] »)
1. If _status_ is an abrupt completion, return ? IteratorClose(_iter_, _status_)

</emu-alg>

<p>The `length` property of the `intersect` method is *1*.</p>
2 changes: 1 addition & 1 deletion spec/set-prototype-symmetric-difference.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p>When the `symmetricDifference` method is called, the following steps are taken:</p>
<p>When the `symmetricDifference` method is called with argument _iterable_, the following steps are taken:</p>

<emu-alg>
1. Let _set_ be the *this* value.
Expand Down
4 changes: 1 addition & 3 deletions spec/set-prototype-union.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p>When the `union` method is called, the following steps are taken:</p>
<p>When the `union` method is called with argument _iterable_, the following steps are taken:</p>

<emu-alg>
1. Let _set_ be the *this* value.
Expand All @@ -15,8 +15,6 @@
3. Let _nextValue_ be ? IteratorValue(_next_).
4. Let _status_ be Call(_adder_, _newSet_, « _nextValue_.[[Value]] »)
5. If _status_ is an abrupt completion, return ? IteratorClose(_iter_, _status_)


</emu-alg>

<p>The `length` property of the `union` method is *1*.</p>

0 comments on commit c1774c5

Please sign in to comment.