Multiline template strings that don't break indentation

Brendan Eich brendan at
Thu Sep 11 01:05:15 PDT 2014

The tag goes at the front. What's missing from the design that can't be 
provided as a standard exported deindent function?


Sebastian Zartner wrote:
>         var a = `This is a template string.
>                  Even though each line is indented to keep the
>                  code neat and tidy, the white space used to indent
>                  is not in the resulting string` keepindentation;

More information about the es-discuss mailing list