how to pass dynamic string in string javascript

JavaScript
const poem = "The Wide Ocean";
const author = "Pablo Neruda";

const favePoem = `My favorite poem is ${poem} by ${author}.`;
Source

Also in JavaScript: