Skip to content

Commit

Permalink
address Shu's feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Oct 2, 2024
1 parent 380047c commit 60fcae2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -6913,7 +6913,7 @@ <h1>
<emu-clause id="sec-SetterThatIgnoresPrototypeProperties" type="abstract operation">
<h1>
SetterThatIgnoresPrototypeProperties (
_this_: an ECMAScript language value,
_thisValue_: an ECMAScript language value,
_home_: an Object,
_p_: a property key,
_v_: an ECMAScript language value,
Expand All @@ -6922,16 +6922,16 @@ <h1>
<dl class="header">
</dl>
<emu-alg>
1. If _this_ is not an Object, then
1. If _thisValue_ is not an Object, then
1. Throw a *TypeError* exception.
1. If SameValue(_this_, _home_) is *true*, then
1. If SameValue(_thisValue_, _home_) is *true*, then
1. NOTE: Throwing here emulates assignment to a non-writable data property on the _home_ object in strict mode code.
1. Throw a *TypeError* exception.
1. Let _desc_ be ? _this_.[[GetOwnProperty]](_p_).
1. Let _desc_ be ? _thisValue_.[[GetOwnProperty]](_p_).
1. If _desc_ is *undefined*, then
1. Perform ? CreateDataPropertyOrThrow(_this_, _p_, _v_).
1. Perform ? CreateDataPropertyOrThrow(_thisValue_, _p_, _v_).
1. Else,
1. Perform ? Set(_this_, _p_, _v_, *true*).
1. Perform ? Set(_thisValue_, _p_, _v_, *true*).
1. Return ~unused~.
</emu-alg>
</emu-clause>
Expand Down Expand Up @@ -46607,7 +46607,7 @@ <h1>%IteratorHelperPrototype%.return ( )</h1>
1. NOTE: Once a generator enters the completed state it never leaves it and its associated execution context is never resumed. Any execution state associated with _O_ can be discarded at this point.
1. Perform ? IteratorClose(_O_.[[UnderlyingIterator]], ReturnCompletion(*undefined*)).
1. Return CreateIteratorResultObject(*undefined*, *true*).
1. Let _C_ be Completion Record { [[Type]]: ~return~, [[Value]]: *undefined*, [[Target]]: ~empty~ }.
1. Let _C_ be ReturnCompletion(*undefined*).
1. Return ? GeneratorResumeAbrupt(_O_, _C_, *"Iterator Helper"*).
</emu-alg>
</emu-clause>
Expand Down

0 comments on commit 60fcae2

Please sign in to comment.