Is it possible to create a template string as a usual string
let a=\"b:${b}\";
an then convert it into a template string
le
You can use the string prototype, for example
String.prototype.toTemplate=function(){ return eval('`'+this+'`'); } //... var a="b:${b}"; var b=10; console.log(a.toTemplate());//b:10
But the answer of the original question is no way.