ES6 classes do not use Java&#x2F;C++ style inheritance, they are still the same as writing:<p><pre><code>  function Foo() {

  }

  Foo.prototype = Object.create(Parent.prototype);

  ....
</code></pre>
It&#x27;s just sugar, nothing more.