Skip to content

Commit

Permalink
add Symbol.prototype.description getter (#1346)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra authored and bterlson committed Feb 20, 2019
1 parent c2aad21 commit 4a2d6d0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -25120,6 +25120,16 @@ <h1>Runtime Semantics: SymbolDescriptiveString ( _sym_ )</h1>
</emu-clause>
</emu-clause>

<emu-clause id="sec-symbol.prototype.description">
<h1>get Symbol.prototype.description</h1>
<p>`Symbol.prototype.description` is an accessor property whose set accessor function is *undefined*. Its get accessor function performs the following steps:</p>
<emu-alg>
1. Let _s_ be the *this* value.
1. Let _sym_ be ? thisSymbolValue(_s_).
1. Return _sym_.[[Description]].
</emu-alg>
</emu-clause>

<emu-clause id="sec-symbol.prototype.valueof">
<h1>Symbol.prototype.valueOf ( )</h1>
<p>The following steps are taken:</p>
Expand Down

0 comments on commit 4a2d6d0

Please sign in to comment.