title: How should I convert prototype initialization into ES6
body: <p>I am attempting to create a Google Maps Overlay View. I have this code here in ES5 telling me to initialize an object in my marker prototype like below:</p>
  
  <pre><code>MainMarker.prototype = new google.maps.OverlayView();
  </code></pre>
  
  <p>How do I exactly convert this to ES6?</p>
  
  <p>For inheritance, such as <code>Child.prototype = Object.create(Parent.prototype)</code>, to this in ES6, we can write like </p>
  
  <pre><code>class Child extends Parent {
      constructor () {
          super();
      }
  }
  </code></pre>
  
  <p>But how to come about with the first one?</p>