diff --git a/spec.html b/spec.html index 0067696083..d9e1a3e715 100644 --- a/spec.html +++ b/spec.html @@ -12457,7 +12457,7 @@

Execution

1. Set _r_.[[Key]] to ~empty~. 1. Set _r_.[[Value]] to ~empty~. 1. For each WeakSet _set_ such that _set_.[[WeakSetData]] contains _value_, do - 1. Replace the element of _set_.[[WeakSetData]] whose value is _value_ with an element whose value is ~empty~. + 1. Replace _value_ in _set_.[[WeakSetData]] with ~empty~. @@ -44114,7 +44114,7 @@

Set.prototype.clear ( )

1. Let _S_ be the *this* value. 1. Perform ? RequireInternalSlot(_S_, [[SetData]]). 1. For each element _e_ of _S_.[[SetData]], do - 1. Replace the element of _S_.[[SetData]] whose value is _e_ with an element whose value is ~empty~. + 1. Replace _e_ in _S_.[[SetData]] with ~empty~. 1. Return *undefined*. @@ -44136,7 +44136,7 @@

Set.prototype.delete ( _value_ )

1. Set _value_ to CanonicalizeKeyedCollectionKey(_value_). 1. For each element _e_ of _S_.[[SetData]], do 1. If _e_ is not ~empty~ and SameValue(_e_, _value_) is *true*, then - 1. Replace the element of _S_.[[SetData]] whose value is _e_ with an element whose value is ~empty~. + 1. Replace _e_ in _S_.[[SetData]] with ~empty~. 1. Return *true*. 1. Return *false*. @@ -44779,7 +44779,7 @@

WeakSet.prototype.delete ( _value_ )

1. If CanBeHeldWeakly(_value_) is *false*, return *false*. 1. For each element _e_ of _S_.[[WeakSetData]], do 1. If _e_ is not ~empty~ and SameValue(_e_, _value_) is *true*, then - 1. Replace the element of _S_.[[WeakSetData]] whose value is _e_ with an element whose value is ~empty~. + 1. Replace _e_ in _S_.[[WeakSetData]] with ~empty~. 1. Return *true*. 1. Return *false*.