diff --git a/1-js/07-object-oriented-programming/03-prototype-inheritance/article.md b/1-js/07-object-oriented-programming/03-prototype-inheritance/article.md index fa61cbc8..eac5ec81 100644 --- a/1-js/07-object-oriented-programming/03-prototype-inheritance/article.md +++ b/1-js/07-object-oriented-programming/03-prototype-inheritance/article.md @@ -112,7 +112,7 @@ let rabbit = { let longEar = { earLength: 10, __proto__: rabbit -} +}; // walk is taken from the prototype chain longEar.walk(); // Animal walk @@ -146,7 +146,7 @@ let animal = { let rabbit = { __proto__: animal -} +}; *!* rabbit.walk = function() {