W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2012

[Bug 17593] Figure out if something needs to be said about [[Construct]]

From: <bugzilla@jessica.w3.org>
Date: Mon, 25 Jun 2012 23:59:27 +0000
Message-Id: <E1SjJBn-0006Ed-D8@jessica.w3.org>
To: public-script-coord@w3.org

Cameron McCormack <cam@mcc.id.au> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Cameron McCormack <cam@mcc.id.au> 2012-06-25 23:59:28 UTC ---
Interface objects are function objects:


All function objects have the the default [[Construct]] behaviour that the ES
spec defines:


This is regardless of whether there was a [Constructor] on the interface.

The default [[Construct]] behaviour is to create a new object and invoke


[[Call]] will throw a TypeError if the interface was not defined with a

  (scroll down to "The internal [[Call]] method ...")

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 25 June 2012 23:59:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:47 UTC