A new function name property proposal

Brandon Benvie brandon at brandonbenvie.com
Fri Nov 23 03:41:35 PST 2012


In ES6 methods (both in classes and in object literals) don't create any
binding at all for their name. Would you say that's better or worse?

As far as changing the binding behavior of names for existing function
declaration and expression forms...it'd be fiddling with something that has
(I think) always been part of JS and is a core mechanic and would have a
widely felt impact if changed. It's just not possible to change it even if
it was desired.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121123/5b09d245/attachment-0001.html>


More information about the es-discuss mailing list