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

Caitlin Potter caitpotter88 at gmail.com
Thu Oct 22 22:31:06 UTC 2015


Doesn't necessarily seem like a bad idea. I could be on board with that.

> On Oct 22, 2015, at 6:18 PM, Mohsen Azimi <me at azimi.me> wrote:
> 
> 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?
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss


More information about the es-discuss mailing list