Mentions légales du service

Skip to content
  • Armand (Tydax) Bour's avatar
    Add removeAllChildren function to Node prototype · fdd44afd
    Armand (Tydax) Bour authored and Mikaël Salson's avatar Mikaël Salson committed
    This is an improvement I offered to implement because removing child nodes one by one should be a lot faster and efficient than calling `innerHTML = ''`. This commit offers the function and adds it to the Node prototype so that it can be called on any Node object.
    fdd44afd