JavaScript do Typercript Converter Online
const sprite = document.querySelector("#sprite");
const symbols = sprite.querySelectorAll("symbol");
symbols.forEach(symbol => {
document.body.insertAdjacentHTML("beforeend", `
<svg width="50" height="50">
<use xlink:href="#${symbol.id}" />
<svg>
`)
});
Xanthous Xenomorph