I want to concatenate string with array Item.
I tried following.
const str = "I have following things:"
const arr = ["chair", "table", "bed"];
const tootlTipText = `${str}
${arr.map(item => `- ${item} \n`)}`;
console.log(tootlTipText);
It display , in between. I tried to find and can't find what is the issue.