removeNode(node: Node, parentNode?: Node): void
Removes the specified node from the parent node.
Parameters
node: Node
The node to remove.
parentNode?: Node
The parent node from which the node will be removed.