title: How to modify target property of Event object in javascript?
body: <p>I'm executing async code, so I wanted to trigger an event once I finished. I created Event object, and I want to pass my current "this" object as a target property of the event. However, this property do not change.</p>
  
  <pre><code>var e = new Event("success");
  e.target = myTargetObject;
  console.log(e.target); // return 'null' for any myTargetObject.
  </code></pre>