Node removechild()

»

Node.removeChild()

Node.removeChild() 메소드는 DOM에서 자식 노드를 제거하고 제거 된 노드를 반환합니다

node.removeChild(child);