diff --git a/spec.html b/spec.html
index 67dca33d64..3f2c15889b 100644
--- a/spec.html
+++ b/spec.html
@@ -42078,7 +42078,7 @@
Set Records
[[Set]]
- an Object.
+ an Object
|
the Set or similar object.
@@ -42136,7 +42136,7 @@
1. NOTE: If _rawSize_ is *undefined*, then _numSize_ will be *NaN*.
1. If _numSize_ is *NaN*, throw a *TypeError* exception.
1. Let _intSize_ be ! ToIntegerOrInfinity(_numSize_).
- 1. If _intSize_ < 0, throw a *RangeError* exception.
+ 1. If _intSize_ < 0, throw a *RangeError* exception.
1. Let _has_ be ? Get(_obj_, *"has"*).
1. If IsCallable(_has_) is *false*, throw a *TypeError* exception.
1. Let _keys_ be ? Get(_obj_, *"keys"*).
@@ -42148,9 +42148,9 @@
SetDataHas (
- _setData_: a List of either ~empty~ or ECMAScript language values,
+ _setData_: a List of either ECMAScript language values or ~empty~,
_value_: an ECMAScript language value,
- ): a boolean
+ ): a Boolean
@@ -42163,16 +42163,16 @@
SetDataIndex (
- _setData_: a List of either ~empty~ or ECMAScript language values,
+ _setData_: a List of either ECMAScript language values or ~empty~,
_value_: an ECMAScript language value,
- ): either ~missing~ or a non-negative integer
+ ): a non-negative integer or ~missing~
- 1. Let _size be the number of elements in _setData_.
+ 1. Let _size_ be the number of elements in _setData_.
1. Let _index_ be 0.
- 1. Repeat, while _index_ < _size,
+ 1. Repeat, while _index_ < _size_,
1. Let _e_ be _setData_[_index_].
1. If _e_ is not ~empty~ and SameValueZero(_e_, _value_) is *true*, then
1. Return _index_.
@@ -42184,7 +42184,7 @@
SetDataSize (
- _setData_: a List of either ~empty~ or ECMAScript language values,
+ _setData_: a List of either ECMAScript language values or ~empty~,
): a non-negative integer
-
- Set.prototype.keys ( )
- The initial value of the *"keys"* property is %Set.prototype.values%, defined in .
-
- For iteration purposes, a Set appears similar to a Map where each entry has the same value for its key and value.
-
-
-
Set.prototype.intersection ( _other_ )
This method performs the following steps when called:
@@ -42436,7 +42428,7 @@ Set.prototype.intersection ( _other_ )
1. If _alreadyInResult_ is *false*, then
1. Append _e_ to _resultSetData_.
1. NOTE: The number of elements in _O_.[[SetData]] may have increased during execution of _otherRec_.[[Has]].
- 1. Set _thisSize_ to the number of elements of _O_.[[SetData]].
+ 1. Set _thisSize_ to the number of elements in _O_.[[SetData]].
1. Else,
1. Let _keysIter_ be ? GetIteratorFromMethod(_otherRec_.[[Set]], _otherRec_.[[Keys]]).
1. Let _next_ be *true*.
@@ -42473,7 +42465,7 @@ Set.prototype.isDisjointFrom ( _other_ )
1. Let _inOther_ be ToBoolean(? Call(_otherRec_.[[Has]], _otherRec_.[[Set]], « _e_ »)).
1. If _inOther_ is *true*, return *false*.
1. NOTE: The number of elements in _O_.[[SetData]] may have increased during execution of _otherRec_.[[Has]].
- 1. Set _thisSize_ to the number of elements of _O_.[[SetData]].
+ 1. Set _thisSize_ to the number of elements in _O_.[[SetData]].
1. Else,
1. Let _keysIter_ be ? GetIteratorFromMethod(_otherRec_.[[Set]], _otherRec_.[[Keys]]).
1. Let _next_ be *true*.
@@ -42505,7 +42497,7 @@ Set.prototype.isSubsetOf ( _other_ )
1. Let _inOther_ be ToBoolean(? Call(_otherRec_.[[Has]], _otherRec_.[[Set]], « _e_ »)).
1. If _inOther_ is *false*, return *false*.
1. NOTE: The number of elements in _O_.[[SetData]] may have increased during execution of _otherRec_.[[Has]].
- 1. Set _thisSize_ to the number of elements of _O_.[[SetData]].
+ 1. Set _thisSize_ to the number of elements in _O_.[[SetData]].
1. Return *true*.
@@ -42531,6 +42523,14 @@ Set.prototype.isSupersetOf ( _other_ )
+
+ Set.prototype.keys ( )
+ The initial value of the *"keys"* property is %Set.prototype.values%, defined in .
+
+ For iteration purposes, a Set appears similar to a Map where each entry has the same value for its key and value.
+
+
+
get Set.prototype.size
`Set.prototype.size` is an accessor property whose set accessor function is *undefined*. Its get accessor function performs the following steps when called:
|