Claude Pache (2015-02-23T21:51:46.000Z)
d at domenic.me (2015-03-06T00:42:33.741Z)
Interestingly, two days ago I've imagined the same solution, except I was using `.=` instead of `mixin`. The `.=` syntax is reminiscent to assignment operators like `+=` (but, of course, it's not an operator, since its right hand side is not a standalone expression). Reusing your examples: ```javascript export const someMixin = obj => obj .= { method1() {return super.method1()}, Method2() {...}, data: 42 }; ``` and, for classes (but with mandatory `class`-keyword): ```javascript C .= class { m2() {super.m2()} } ```