JS Puzzles · Concept
Tagged Templates
Template literals use backticks for strings. They support multiline text, ${...} interpolation, and tagged templates that let a function process the parts.
Last updated
Syntax
`string text`
`string text ${expression} string text`
tagFunction`string text ${expression} string text`In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Tagged templatesString.rawescape sequencesplaceholders