symbols in template literals

Brendan Eich brendan at
Thu Sep 11 16:44:28 PDT 2014

Allen Wirfs-Brock wrote:
> I see this, as the first step on a path of considering every use of ToString in the spec. and deciding whether it would be ok to use "ToStringSymbolAllowed" instead.  And the possible result being that some places where symbols are allowed and some where they aren't.  And know body remember which is which. It's probably better to have a consistent rule with one explicit exceptions rather than a loosely applied rule with many exceptions.

And of course one might write obj[`${name}`] if we did allow conversion 
to string there, and oops.


More information about the es-discuss mailing list