` таких `
кавычек.${переменная}
.var a = 'Alice';
var b = 'Bob';
var is_alice = true;
console.log(`Hello, ${is_alice ? a : b}`);
//Hello, Alice
var fruits = ['apple', 'lemon', 'cherry'];
console.log(`Fruits list: ${fruits}`);
//Fruits list: apple,lemon,cherry
console.log(`Fruits list: ${fruits.join(' and ')}`);
//Fruits list: apple and lemon and cherry
var text = "";
for(let i = 0; i < 5; i++)
{
text += `bla-bla text i = ${i}`;
}