Javascript template literals?

Example:


  let name = "John";
  let greeting = `Hello, ${name}!`;
  console.log(greeting);  // Outputs: Hello, John!
  

Solution:

Template literals in JavaScript provide a way to embed expressions within string literals, using `${...}` syntax. They are enclosed by the backtick (` `) character.

Beginner's Guide to JavaScript