modify alternative method in comment of mixins' code example

This commit is contained in:
AmosChenYQ 2021-01-23 11:44:43 +08:00
parent 7bd55a44a1
commit 13a6a7586c

View file

@ -69,7 +69,7 @@ let sayMixin = {
};
let sayHiMixin = {
__proto__: sayMixin, // (or we could use Object.create to set the prototype here)
__proto__: sayMixin, // (or we could use Object.setPrototypeOf to set the prototype here)
sayHi() {
*!*