> On Feb 25, 2015, at 7:26 PM, Matthew Robb <[email protected]> wrote:
>
> ...
> I think it would be best to put more distance between the name property of a
> function and it's binding (if any) to reduce any potential confusion. Making
> it a symbol property and (also my opinion) making it writable would help in
> reducing said confusion.
The automatically provided ‘name’ property of function objects has the
attributes writable: false, configurable true. That means that its value can be
modified using Object.defineProperty or deleted using the delete operator. You
just can’t modify it using the assignment (=) operator.
Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss