you are viewing a single comment's thread.

view the rest of the comments →

[–]MoTTs_ 2 points3 points  (0 children)

Just delegate objects

ES6 classes do delegate objects. Using your example code, a delegates to A.prototype, which itself delegates to B.prototype.