IsConstructor

Tom Van Cutsem tomvc.be at gmail.com
Wed Jun 11 10:49:42 PDT 2014


2014-06-11 18:02 GMT+02:00 Allen Wirfs-Brock <allen at wirfs-brock.com>:

>
> Kind of boarder line.  6.1.7.2 says that the "essential internal methods"
> are those listed in Table 5 (does not include [[Call]] and
> [[Constructor]]).  Also the definitions of [[Call]] and [[Construct]] in
> 9.5 each include a note that says these internal methods are only provided
> when a corresponding internal method exists on the target.
>
> Reading the section as a while, I think it is pretty clear that  that a
> Proxy only has a [[Construct]] internal method if its target also has one.
>

Ok, the fact that an explicit note is included in 9.5.13 [[Call]] and
9.5.14 [[Construct]] should be sufficient to avoid any doubt.

Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140611/441929b2/attachment.html>


More information about the es-discuss mailing list