How does the browser manage it's memory or clean its DOM? : <p>I am learning Backbone and want to better understand how the browser keeps it DOM clean and how to be efficient overall with my code. From my understanding, we use Backbone as a framework to throw on views onto an element that is usually found in the index.html (most of the time being the body tag). The view we throw in uses up the Browser's memory, and because of this, we want to do something like <code>$(body).html('')</code> to erase everything when we switch to another view or no longer need the old view. Is this correct?</p>
