From dccca58f268ad6d5a6f2160613a8ea3c5cd53a2d Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sun, 1 Nov 2020 09:54:02 +0300 Subject: [PATCH] Update article.md --- 1-js/08-prototypes/01-prototype-inheritance/article.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/1-js/08-prototypes/01-prototype-inheritance/article.md b/1-js/08-prototypes/01-prototype-inheritance/article.md index e616ed2c..cd4b94d3 100644 --- a/1-js/08-prototypes/01-prototype-inheritance/article.md +++ b/1-js/08-prototypes/01-prototype-inheritance/article.md @@ -122,6 +122,8 @@ alert(longEar.jumps); // true (from rabbit) ![](proto-animal-rabbit-chain.svg) +Now if we read something from `longEar`, and it's missing, JavaScript will look for it in `rabbit`, and then in `animal`. + There are only two limitations: 1. The references can't go in circles. JavaScript will throw an error if we try to assign `__proto__` in a circle.