From 13a6a7586ce43ec93443057907fcc84b295d5669 Mon Sep 17 00:00:00 2001 From: AmosChenYQ Date: Sat, 23 Jan 2021 11:44:43 +0800 Subject: [PATCH] modify alternative method in comment of mixins' code example --- 1-js/09-classes/07-mixins/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/09-classes/07-mixins/article.md b/1-js/09-classes/07-mixins/article.md index d43b96c963..06001d900e 100644 --- a/1-js/09-classes/07-mixins/article.md +++ b/1-js/09-classes/07-mixins/article.md @@ -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() { *!*