Open ziadoz opened 5 months ago
The replaceChildren() node with no parameters can be used to quickly clear a node's children:
replaceChildren()
https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren#emptying_a_node
The
replaceChildren()
node with no parameters can be used to quickly clear a node's children:https://developer.mozilla.org/en-US/docs/Web/API/Element/replaceChildren#emptying_a_node