⭐️ ES6 (2015) feature
string interpolation
`${a} + ${b} = ${a + b}`
multi-line string
let html = ` <div> <span>Some HTML here</span> </div> `;
tagged template
Template literalsarrow-up-right
String.raw()arrow-up-right
Creating multiline strings in JavaScriptarrow-up-right
grammar
Last updated 3 years ago