replaceWith

Declaration

void replaceWith(
    (Node or DOMString)... nodes
);