Menu
I am creating JS objects that have some properties that contain DOM nodes, and some of these DOM nodes have event listeners attached to them.
When I delete such objects, do I first need to remove the event listeners attached to some of the DOM nodes? And do I need to use removeChild on the DOM nodes that are properties of the object?
Or does JavaScript take care of all that?