es6 template literals
Also referred to as template strings. Allows for a simpler use of variables within blocks of text and multi lines.
let firstname = "John";
let lastname = "Smith"
console.log(`Hi my name is:
${firstname} ${lastname}`);
// Hi my name is:
// John Smith
copy