Как поместить переменную в 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
const myvariable = "great";
const favePoem = "My text is."+myvariable+".";