template literal

  • string interpolation

`${a} + ${b} = ${a + b}`
  • multi-line string

let html = `
  <div>
    <span>Some HTML here</span>
  </div>
`;

Last updated