class A {} class B extends A {} const a = new A(); const b = new B(); console.log(a.__proto__) console.log(b.__proto__) console.log(B.__proto__) console.log(B.prototype.__proto__) console.log(b.__proto__.__proto__)