title: Why jQuery's .empty() off all events on the element in it
body: <blockquote>
    <h3>Duplicate of <a href="https://stackoverflow.com/questions/12528049/if-a-dom-element-is-removed-are-its-listeners-also-removed-from-memory">If a DOM Element is removed, are its listeners also removed from memory?</a></h3>
  </blockquote>
  
  <hr>
  
  <p>Why jQuery's .empty() off all events on the elements who gotten removed?</p>
  
  <p>If I am using vanilla JavaScript, is removing event listeners when elements removed from document should be considered as a good practice?
  nowadays. That's all.</p>