将 DOMString 转换为 DOM 节点并插入 DOM
index.js
const root = document.getElementById('root')
root.innerHTML = `
<h1>hello</h1>
<strong>
<span>world</span>
</strong>
`
index.js
const root = document.getElementById('root')
root.innerHTML = `
<h1>hello</h1>
<strong>
<span>world</span>
</strong>
`