remove
function
nodeLists.remove(elementsToBeRemoved)
Remove all Nodes in oldElements from the DOM.
Parameters
- oldElements
{ArrayLike<Node>}:the list of Elements to remove (must have a common parent)