Public
ES6 Template Strings working in Chrome. String literals with embedded expressions enable easier string interpolation.
More info on the feature over on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings
This is currently staged behind the --es-staging flag. More info on how that works in the new V8 feature release process: https://developers.google.com/v8/launchprocess
Also supported in Traceur, 6to5, Closure Compiler, Firefox 34+.
More info on the feature over on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/template_strings
This is currently staged behind the --es-staging flag. More info on how that works in the new V8 feature release process: https://developers.google.com/v8/launchprocess
Also supported in Traceur, 6to5, Closure Compiler, Firefox 34+.

- I wish languages would settle on a consistent format for these interpolated strings - would make things easier for translation files. Altho - a thought occurs to me, does string interpolation only work on string literals - eval() to the rescue! <g> ).Dec 8, 2014
- Ahh - I see its a back-tick delimiter, so quite different to normal strings ( makes sense ).Dec 8, 2014
- Now we would need to avoid both eval() and console.log(). Both for security reasons (code injection). :(Dec 8, 2014
- +Mark Derricutt The backticks are to make it appear fixed-width ;)Dec 9, 2014
- +Oliver Salzburg "Markdown Flavoured Javascript" - just what the world needs :)Dec 9, 2014
Add a comment...