Skip to content

Latest commit

 

History

History
 
 

dom-demo

ownerDocument 的作用?

操作节点的方法:

appendChild
replaceChild
removeChild
insertBefore

parentNode
childNodes
cloneNode

document.documentElement 为 HTML 元素;