var name="Hemant",
loc = "Hyderabad";
var str = `
my name is ${name},
I am stying in ${loc}`;
console.log(str);
// output
my name is Hemant,
I am stying in Hyderabad
Use Case 1 ( variable manipulation )
var x =1, y=2;
var str = `sum of
${x} + ${y} = ${x +y}
`;
console.log(str);
// output
sum of
1 + 2 = 3
Use Case 2
var x =1, y=2;
var str = ` Today's date is
${new Date()}
`;
// output
Today's date is
Sun Dec 06 2015 17:36:32 GMT+0530 (India Standard Time)