[Bug 20653] Function object doesn't specify needing a "prototype" property

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20653

Allen Wirfs-Brock <allen@wirfs-brock.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allen@wirfs-brock.com

--- Comment #2 from Allen Wirfs-Brock <allen@wirfs-brock.com> ---
But note that even in ES5, built-in functions don't have a prototype property
and are not usable as constructors (they do not have a [[Construct]] internal
method).  

In ES6, functions syntactically defined as methods (concise methods in object
literals and class definitions) also will not have a prototype property and are
not usable as constructors. 

I think it would be fine for WebIDL to treat all method like functions in the
same manner as ES6 concise methods.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Saturday, 12 January 2013 01:04:02 UTC