Functional Mixins in ECMAScript 2015

added by bpwndaddy
6/18/2015 3:33:10 PM

2 Kicks, 307 Views

In Prototypes are Objects, we saw that you can emulate "mixins" using Object.assign on the prototypes that underly JavaScript "classes." We'll revisit this subject now and spend more time looking at mixing functionality into classes.