title: Retrieve/restore native javascript function after being overwritten
body: <p>Let's say we run the following line of code</p>
  
  <pre><code>Object.defineProperty(HTMLElement.prototype, 'click', {value: null});
  </code></pre>
  
  <p>Is there any way whatsoever to retrieve/restore the original <code>click</code> function?</p>
  
  <p>And yes, I am aware that it is possible to trigger a click event through <code>dispatchEvent</code>, however it is possible to patch that up in a similar way. What I am asking about whether it is possible to restore the click event or somehow trigger that click function after it has been overwritten like that. Do assume that that line of code was the very first line of code being run.</p>