A new function name property proposal

Axel Rauschmayer axel at rauschma.de
Fri Nov 16 07:58:54 PST 2012

>> Whenever a function's name is defined by a Symbol instead of a regular identifier then the name is the result of ToString(symbol).
> Symbols don't have useful ToString conversions, do they? Are you thinking of the optional string passed to the constructor, for diagnostics and debugging?

The name would be more useful if it could be either string or symbol. Not sure about security implications, though.

Dr. Axel Rauschmayer
axel at rauschma.de

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121116/1da77a30/attachment.html>

More information about the es-discuss mailing list