javascript string format

JavaScript
let soMany = 10;
console.log(`This is ${soMany} times easier!`);
// "This is 10 times easier!//

const firstName = 'john';
const lastName = 'smith';

const output = `name: ${firstName}, surname: ${lastName}`;
// name: john, surname: smith`string text ${expression} string text`const string = 'This is a string.';
const message = `${string} This is also a string.`;var my_name = 'John';
var s = `hello ${my_name}, how are you doing`;
console.log(s); // prints hello John, how are you doing

Source

Also in JavaScript: