title: Do JavaScript events last forever?
body: <p>So let's say I use <code>var evt = new CustomEvent("example");</code> to create a new event.</p>
  
  <p>I am unable to reuse the newly created event object later on in the program because it's <code>.detail</code> property is read-only. If I could modify this value, I could dispatch this custom event multiple times with different data associated with it.</p>
  
  <p>I want to dispatch this custom event during a built-in "click" event-handler function. Because I can't reuse the custom event, I'm creating a new one every time someone clicks on the target element.</p>
  
  <p>Of course, this isn't much of a problem if the events get deleted at some point. Maybe there's some sort of garbage collection for when a variable that stores an event goes out of scope?</p>
  
  <p>Or do they just linger around in the freestore until the current browser context is closed?</p>