Re: [whatwg/dom] Proposal: ParentNode.empty() (#478)

Other than being slightly clearer, `removeChildren()` doesn't seem particularly ergonomic:

    x.removeChildren();
    x.textContent = "";
    x.innerHTML = "";

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/478#issuecomment-317971112

Received on Wednesday, 26 July 2017 07:23:47 UTC