Skip to content

Commit

Permalink
Normative: Iterator.prototype.constructor: specify the name of th…
Browse files Browse the repository at this point in the history
…e accessor functions
  • Loading branch information
ljharb committed Dec 18, 2024
1 parent 4b3dbbf commit 0957009
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -46804,6 +46804,7 @@ <h1>get Iterator.prototype.constructor</h1>
<emu-alg>
1. Return %Iterator%.
</emu-alg>
<p>The value of the *"name"* property of this function is *"get constructor"*.</p>
</emu-clause>

<emu-clause id="sec-set-iterator.prototype.constructor">
Expand All @@ -46813,6 +46814,7 @@ <h1>set Iterator.prototype.constructor</h1>
1. Perform ? SetterThatIgnoresPrototypeProperties(*this* value, %Iterator.prototype%, *"constructor"*, _v_).
1. Return *undefined*.
</emu-alg>
<p>The value of the *"name"* property of this function is *"set constructor"*.</p>
</emu-clause>

<emu-note>
Expand Down

0 comments on commit 0957009

Please sign in to comment.