DISQUS

naterkane.com | the blog: Clearing the contents of a DOM Element

  • kangax · 1 year ago
    Which memory loss are you referring to? I'm not aware of any "leaks" when clearing contents of an element by settings its innerHTML to an empty string.