Duplicate of If a DOM Element is removed, are its listeners also removed from memory?
Why jQuery's .empty() off all events on the elements who gotten removed?
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.