Tagged templates return types unlimited?

Isiah Meadows impinball at gmail.com
Tue Jan 6 14:25:18 PST 2015


Is there any restriction on what a tagged template can return in the spec?
Reading it (12.3.7.1) seems to imply not, but I'm not sure.

```js
let compiled = template`foo${template._}baz`

compiled('bar'); // 'foobarbaz'
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150106/286ff7fc/attachment.html>


More information about the es-discuss mailing list