Hacker News new | ask | show | jobs
by spiralx 2998 days ago
Mixins in ES6 should be functions taking a class and returning another class that extends it:

https://alligator.io/js/class-composition/