> On Dec 13, 2018, at 10:37 AM, T.J. Crowder <[email protected]> > wrote: > > Fair enough, but the primary use of this function is *not* using it as a tag > function, but rather as a normal function. It doesn't make sense to use it as > a tag function, the result is the same as an untagged template. The only use > case I could see for using it as a tag function is if you were selecting from > several tag functions at runtime and needed a "no-op" option. > > But called normally, it's a useful helper, for instance in Isiah's `escape` > (where I assume the literal strings are already trusted, the substitutions > are not):
+1 The primary use case is not as a tag function but as a helper and it should be named accordingly. My suggestion: String.interpolate
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

