The mixin utility assigns the properties of a set of 'mixin' objects to the prototype of a parent object.
mixin
The class to extend the new class from.
The objects to mix in.
A new class that extends Parent and contains the mixins.
class MyClass extends mixin(ExistingClass, evented, etc) {} Copy
class MyClass extends mixin(ExistingClass, evented, etc) {}
The
mixinutility assigns the properties of a set of 'mixin' objects to the prototype of a parent object.