Answers for "how to pass dynamic string in string javascript"

0

how to pass dynamic string in string javascript

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

const favePoem = `My favorite poem is ${poem} by ${author}.`;
Posted by: Guest on May-18-2020

Code answers related to "how to pass dynamic string in string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language