A new function name property proposal
Brendan Eich
brendan at mozilla.com
Wed Feb 6 14:56:50 PST 2013
Updating this thread. I need to update the wiki still, but at last
week's TC39 meeting we did agree to infer name mostly as you proposed.
The one change of note is to make f.name writable always.
BTW, I just noticed that SpiderMonkey infers a "display id" now, along
the lines of your proposal:
https://bugzilla.mozilla.org/show_bug.cgi?id=433529. No in-language
reflection other than Error.stack, but there's a JS API.
If you could check out the SpiderMonkey patch that landed, I'd
appreciate it.
/be
Brandon Benvie wrote:
> Excellent! I must admit to having a pretty ridiculous obsession with
> the name property of functions in particular, so I would be much
> delighted to see improvements and standardization come to it.
>
>
> On Sat, Nov 17, 2012 at 9:06 PM, Brendan Eich <brendan at mozilla.org
> <mailto:brendan at mozilla.org>> wrote:
>
> Brandon: thanks for reviving and revising my old strawman. I will
> edit your proposed changes in (and let you and the list know when
> I'm done so you can review) and present at the TC39 meeting in the
> last week of November. Thanks again, great work!
>
> /be
>
> Brandon Benvie wrote:
>
> Declarative scope...not decorative scope. Curses auto correct
> fail.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org <mailto:es-discuss at mozilla.org>
> https://mail.mozilla.org/listinfo/es-discuss
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
More information about the es-discuss
mailing list