Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
fixes #14: support F.p.toString on %ThrowTypeError% intrinsic (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra authored Sep 29, 2016
1 parent c44efc4 commit 994e506
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions proposal.html
Original file line number Diff line number Diff line change
Expand Up @@ -543,3 +543,20 @@ <h1>(<a href="http://tc39.github.io/ecma262/#sec-function.prototype.tostring">19
</emu-grammar>
</ins>
</emu-clause>


<!-- es6num="9.2.7.1" -->
<emu-clause id="sec-%throwtypeerror%">
<h1>(<a href="#sec-%throwtypeerror%">9.2.7.1</a>) %ThrowTypeError% ( )</h1>
<p>The <dfn>%ThrowTypeError%</dfn> intrinsic is a<del>n anonymous</del> built-in function object that is defined once for each realm. When %ThrowTypeError% is called it performs the following steps:</p>
<emu-alg>
1. Throw a *TypeError* exception.
</emu-alg>
<p>
<ins>
The value of the `name` property of %ThrowTypeError% is `"ThrowTypeError"`.
</ins>
</p>
<p>The value of the [[Extensible]] internal slot of a %ThrowTypeError% function is *false*.</p>
<p>The `length` property of a %ThrowTypeError% function has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *false* }.</p>
</emu-clause>

0 comments on commit 994e506

Please sign in to comment.