Cómo poner variable en String JavaScript
var myInt = 1
console.log(`my variable is ${myInt}`);
// my variable is 1
Graceful Gibbon
var myInt = 1
console.log(`my variable is ${myInt}`);
// my variable is 1
var a = 5;
var b = 10;
console.log(`Fifteen is ${a + b}.`);
// "Fifteen is 15.