how to delay interpolation of template strings?

Kevin Smith zenparsing at gmail.com
Tue Dec 16 06:07:42 PST 2014


> Can this be considered for a feature request? Provision in the language to
> dynamically construct template strings and interpolate them.
>

As pointed out by others, since template strings can contain arbitrary JS
expressions, what you're asking for is equivalent to `eval`.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141216/93142cd1/attachment.html>


More information about the es-discuss mailing list