Template strings: embedded DSLs in ECMAScript 6

Get used to backticks, ES6 introduces template strings


In ECMAScript 6, template strings are a syntactic construct that facilitates the implementation of embedded domain-specific languages (DSLs) in JavaScript. They were originally called “quasi-literals”. Dr. Axel Rauschmayer’s blog post explains how they work.

Read the post at 2ality.com