0

If getElementsByClassName can replace using TreeWalker, is it a good idea to do so ?

What are the benefits of using one over the other if the only objective is to replace a DOM element with a particular classname with another DOM element (or append a child into it) ?

PlanBuildr
  • 167
  • 1
  • 4
  • 14

0 Answers0