Should the "length" property of bound functions be configurable

Mark S. Miller erights at google.com
Fri Aug 30 10:36:03 PDT 2013


Cool. In that case we have more freedom. In any case, we should give both
of these the same attributes.


On Fri, Aug 30, 2013 at 10:34 AM, Claude Pache <claude.pache at gmail.com>wrote:

>
> Le 30 août 2013 à 18:54, "Mark S. Miller" <erights at google.com> a écrit :
>
> > It seems we have legacy saying that "name" should be writable.
> >
>
> Really? Just tried in the console of the latest stable versions of
> Firefox, Safari, Chrome and IE:
>
> ```
> Object.getOwnPropertyDescriptor(function() {}, 'name')
> ```
>
> Firefox, Safari and Chrome: `{value: "", writable: false, enumerable:
> false, configurable: false}`
> IE: `undefined`
>
> —Claude
>
>


-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130830/708fa6a8/attachment.html>


More information about the es-discuss mailing list