let namess=['a','b','c'];
let strss=`
<ul>
${
namess.map(name=>`<li>Hi,${name}`).join()
}
</ul>
`;
document.querySelector('body').innerHTML=strss
============================================
let names=['a','b','c'];
let strs=`
<ul>
${
names.map(name=>{ return `<li>Hi,${name}`}).join()
}
</ul>
`;
document.querySelector('body').innerHTML=strs