Skip to content

Commit

Permalink
Editorial: clarify that [[Construct]] implies [[Call]]
Browse files Browse the repository at this point in the history
That is, an object with a [[Construct]] internal method
must have a [[Call]] internal method.
Previously, this was assumed but not explicitly stated.

See https://stackoverflow.com/questions/50109554/
  • Loading branch information
jmdyck committed May 3, 2018
1 parent cbe4679 commit a14d1d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -1514,7 +1514,7 @@ <h1>Object Internal Methods and Internal Slots</h1>
</tbody>
</table>
</emu-table>
<p><emu-xref href="#table-6"></emu-xref> summarizes additional essential internal methods that are supported by objects that may be called as functions. A <dfn id="function-object">function object</dfn> is an object that supports the [[Call]] internal method. A <dfn id="constructor">constructor</dfn> (also referred to as a <em>constructor function</em>) is a function object that supports the [[Construct]] internal method.</p>
<p><emu-xref href="#table-6"></emu-xref> summarizes additional essential internal methods that are supported by objects that may be called as functions. A <dfn id="function-object">function object</dfn> is an object that supports the [[Call]] internal method. A <dfn id="constructor">constructor</dfn> is an object that supports the [[Construct]] internal method. A constructor must be a function object, and so is also referred to as a <em>constructor function</em>.</p>
<emu-table id="table-6" caption="Additional Essential Internal Methods of Function Objects">
<table>
<tbody>
Expand Down

0 comments on commit a14d1d5

Please sign in to comment.