dhtmlkitchen at gmail.com
Tue Aug 12 19:52:58 PDT 2014
On 8/12/14, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> On Aug 12, 2014, at 2:17 PM, Garrett Smith wrote:
>> On 8/12/14, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
>> | Function.prototype.toString
>> | ...
>> | The toString function is not generic; it throws a
>> | TypeError exception if its this value does not have
>> | a [[Call]] internal method. Therefore, it cannot be
>> | transferred to other kinds of objects for use as a method.
> This is a spec, bug. should probably be expressed as does not have a
> [[Code]] internal slot.
What is the [[Code]] for host methods like addEventListener? And what
is the expected result of addEventListener.toString()?
Spec for Function.prototype.toString has never reflected reality for
More information about the es-discuss