Quartz 5

Home

❯

Org-roam

❯

JavaScript Template Literals

JavaScript Template Literals

Nov 12, 20201 min read

Description

Template literals1 can span lines and also embed other values. ${} in a template literal will be computed and converted to a JavaScript Strings.

Syntax

console.log(`This is a
backtick quotes string`)
console.log(`half of 100 is ${100 / 2}`)

Footnotes

Footnotes

  1. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals ↩


Graph View

  • Description
  • Syntax
  • Footnotes

Backlinks

  • JavaScript String Literals
  • JavaScript Tagged Template Literals
  • TypeScript Template Literal String Type

Created with Quartz v5.0.0 © 2026

  • GitHub
  • Discord Community