removeChild 与 removeNode区别

removeChild 用于父节点除去子节点(父节点对象调用)

removeNode 用于除去某个节点 (被除去节点调用)


你可能感兴趣的:(removeChild 与 removeNode区别)