Replacement Flashcards

1
Q

replaceWith

target.replaceWith(element);

A

parent.replaceChild(newChild, oldChild);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly