SyntaxFix
Write A Post
Hire A Developer
Questions
while (node.hasChildNodes()) { node.removeChild(node.lastChild); }