title: Do innerHTML create nodes in the DOM tree?
body: <p>If I do this:</p>
  
  <pre><code>document.getElementById("myDiv").innerHTML = "some_html_code";
  </code></pre>
  
  <p>will that create nodes in my DOM three as it would if I used <code>appendChild()</code>?</p>
  
  <p>Reason for asking is that I'm creating a mobile application where memory usage must be low. I don't want to create a lot of nodes.</p>