miniblog.
← Back to all posts
Wilfred Hughes
Jan 14, 2015 at 08:28
ES6 adds string interpolation and custom string literals!
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings
Remarkable for a language requiring backwards compat.
Template literals (Template strings) - JavaScript | MDN
Template literals are literals delimited with backtick (`) characters, allowing for multi-line strings, string interpolation with embedded expressions, and special constructs called tagged templates.