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
solved How to call a function taking parameters in js string template literal? [closed]