André Bargull (2013-06-12T09:00:57.000Z)
github at esdiscuss.org (2013-07-12T02:27:36.808Z)
Just for the record: Prototype lookup in ClassDefinitionEvaluation changed in draft rev. 14., so an API function should rather look like: ```js Mixin = (base, ...mixins) => mixins.reduce(Object.mixin, class extendsbase {}.prototype).constructor ``` At least users now no longer need to access .prototype manually: ``` js> class Foo { where(){ return "Foo" } } js> const BarMixin = { where(){ return "BarMixin" } } js> (new class extends Mixin(Foo) {}).where() "Foo" js> (new class extends Mixin(Foo, BarMixin) {}).where() "BarMixin" ```