[ad_1]
The same way you put any other expression in a template literal, just wrap it in ${}.
const myObj = {"far": " bar"}
const s = `hello ${JSON.stringify(myObj)}`;
console.log(s);0
[ad_2]
solved How to call a function taking parameters in js string template literal? [closed]