Does removeChild function really delete the child node completely? Or it just removes the element being child of the specified parant node? If it doesn\'t reall
removeChild removes the element from the dom, but it's also returned from the function in case you're doing the removal to re-insert it elsewhere. You'd have to kill that return value to really get rid of the removed node: