[Bug 22947] Operation functions should not have a prototype property

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

Mark S. Miller <erights@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erights@gmail.com

--- Comment #3 from Mark S. Miller <erights@gmail.com> ---
(In reply to comment #2)
> Functions have a prototype property by default. I would like the spec to
> point out that the functions backing operations are not normal functions and
> should not have a prototype (same for the getter and setter functions).

I agree they should not have a prototype property or a [[Construct]] internal
method. But I would avoid the phrase "not normal functions". In ES3 and ES5,
all non-constructor Chapter 15 functions are of this form. In ES6, arrow
functions are as well.

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

Received on Tuesday, 20 August 2013 14:46:53 UTC