Any reason template string with empty interpolation placeholder (`${}`) throws?

Mohsen Azimi me at azimi.me
Thu Oct 22 22:18:19 UTC 2015


Pardon my lack of use of proper terminology.

This is kind of annoying working with large template strings. When I leave
an interpolation placeholder(what's the right name?) empty it blows up all
my code.

Can it be forgiving like Ruby and CoffeScript and just replace it with
empty string?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20151022/1eef6236/attachment.html>


More information about the es-discuss mailing list