Skip to content

Template strings: embedded DSLs in ECMAScript 6

Updated: at 11:23 PM

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