title: Getting reference to element being observed with MutationObserver
body: <p>I am using MutationObservers to watch changes happening to multiple DOM nodes (basically adding to their subtrees or removing the nodes overall).</p>
  
  <p>The observer works fine because I am using <code>subtree</code> option. The only problem is that I cannot get reference to the parent element that has the mutation observer attached to</p>
  
  <pre><code>const mutationObserver = new MutationObserver(mutationRecords =&gt; {
    mutationRecords.forEach(mutationRecord =&gt; {
      const addedNodesLength = mutationRecord.addedNodes.length;
      for (let i = 0; i &lt; addedNodesLength; i++) {
        const node: Element = mutationRecord.addedNodes[i];
        // I need to check the parent of node that is being observed
      }
    });
  });
  </code></pre>
  
  <p>I searched MDN and I cannot find any reference if that's possible. Any idea if that can be done?</p>