3 Different Kinds of Prototypal Inheritance: ES6+ Edition
Eric Elliott
91816

Thank you for such an insightful post, Eric!

But I cannot wrap my head around one tiny detail in this example: https://gist.github.com/ericelliott/06b434591f8d80c57cf2bff20683e0fd#file-functional-mixin-example-js: why you’re using “this” keyword to pass object that should be extended? What extra benefits does this approach have comparing to using argument for the same purpose: https://gist.github.com/surgeboris/29f22c7a821b69ac212fda2054e3a092?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.