Re:JavaScript: prototype vs. class
by danShumway on Wednesday April 04, 2018 @11:35AM
(#16755693)
Both options will break mixins.
In the above example, CatDog is not an instance of Cat, since it never actually inherits from the Cat prototype.
[ Parent
| on HN ]
There are no comments on this comment yet.