On Sat, Jan 28, 2012 at 16:07, Brendan Eich <[email protected]> wrote: > This is really relaxing the (over-restrictive, IMHO) design that says that > for ${expr} in a quasi, expr can be only a very few forms such as > Identifier, Identifier '.' IdentifierName, and the like -- right?
Yes. Only allowing IdentifierExpression and MemberLookup is too restrictive. A realistic use case is to allow binary operator and once you allow that it makes sense to allow any expression which includes other quasi literals which leads to the conclusion that nested quasi literals should be allowed. -- erik _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

