ES6 Classes: Is this a proof for prototype extending another one?
<p>While playing around with Babel.js and doing some extending with classes I realized something that might be a good way to differentiate common class inheritance (Java, C#...) and prototype (I don't really say class here somehow) inheritance.</p>

<p><strong>Given the following to base-class:</strong></p>

<pre><code>class Menu {

  constructor(){}

  render(){
    this.addObjectsToStage();
  }

  addObjectsToStage() {
    var objects = this.objects.getAllObjects();
    for (var category in objects) {
      if (objects.hasOwnProperty(category)) {
        for (var type in objects[category]) {
          if (objects[category].hasOwnProperty(type))
            this.stage.addChild(objects[category][type]);
        }
      }
    }
  }

}
</code></pre>

<p><strong>And its subclass:</strong></p>

<pre><code>class MainMenu extends Menu{

  constructor(stage, options) {
    super();
    this.stage = stage;
    this.objects = new MenuObjects(options);
  }
}
</code></pre>

<p>Now what I want to point out is that the super-class <strong>Menu</strong> is calling a property this.<strong>objects</strong>.getAllObjects() (<em>in function "addObjectsToStage"</em>).</p>

<p>In a "common" object orientated language you wouldn't be able to access a property which is just defined when an instance of a sub-class is being created. So this, in my opinion, is a significant sign for a difference in inheritance styles.</p>

<p>So what I'd like to know now is if I'm pretty right or dead wrong!</p>