Template strings flags

Axel Rauschmayer axel at rauschma.de
Fri Apr 17 17:21:12 UTC 2015


Alternative: an operator for function composition.

```js
let text = `…` @@ t;
```


> On 17 Apr 2015, at 19:13, monolithed <monolithed at gmail.com> wrote:
> 
> Why not provide special formatting flags for `Template strings`?
> 
> ```js
> let text = `text text text text text text
>             text text text text text text`t;
> ```
> 
> `t` - trim whitespaces
> 
> Expected result:
> 
> ```js
> let text = `text text text text text text text text text text text text`t;
> ```

-- 
Dr. Axel Rauschmayer
axel at rauschma.de
rauschma.de



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150417/4392547e/attachment.html>


More information about the es-discuss mailing list