Template literals with ${}
A template literal is a string between backticks where `${}` inserts the value of any expression.
A template literal is written with backticks (`) instead of quotes. Inside it you can put ${expression}: JavaScript evaluates the expression, turns the result into a string and places it there.
You read it left to right: fixed text, a hole, more text. Any expression fits in the hole: a variable, a sum, a function call or a ternary.
It is written this way because joining strings with + gets hard to read, and it is easy to forget a space. A template literal can also span several lines.
You see it in the course from lesson 00.04: console.log(`Node version: ${process.version}`). It is plain JavaScript, so the type checker leaves it alone and Node runs it as it is.
const name = "Ana";
console.log(`Hello, ${name}`);
Reach for it when: you need to mix text with values, such as in `console.log` messages, or when a string spans several lines.
