Implicitly escaped $ (or not) in quasis?

Dio Synodinos synodinos at
Tue Jun 26 13:16:59 PDT 2012

On Tue, Jun 26, 2012 at 2:48 PM, Erik Arvidsson <erik.arvidsson at>wrote:

> On Tue, Jun 26, 2012 at 9:19 AM, Allen Wirfs-Brock
> <allen at> wrote:
> > So, I propose that we go with alternative 2.  Thoughts?
> It makes me sad to not support $foo. Would it be too confusing to only
> support a subset of the identifiers in this form? FWIW, Dart does not
> allow identifiers with $ in this form, and requires you to use ${
> jqueryLikes$Signs } when you need "strange" identifiers.

I'd have to agree with Erik and say that having EcmaScript not support
substitution as most other languages and frameworks I'm familiar with do,
would feel awkward. Especially if it means using 2 additional characters,
just to protect against edge-cases.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list