W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

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

From: Mark S. Miller <erights@google.com>
Date: Tue, 20 Aug 2013 07:44:20 -0700
Message-ID: <CABHxS9hzSahqdb1kyqrERUHq372r-opd99bn37Gd565X7QbfKA@mail.gmail.com>
To: "bugzilla@jessica.w3.org" <bugzilla@jessica.w3.org>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
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.


On Tue, Aug 20, 2013 at 7:21 AM, <bugzilla@jessica.w3.org> wrote:

> https://www.w3.org/Bugs/Public/show_bug.cgi?id=22947
>
> --- Comment #2 from Erik Arvidsson <arv@chromium.org> ---
> 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).
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
>


-- 
    Cheers,
    --MarkM
Received on Tuesday, 20 August 2013 14:44:56 UTC

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