From 5a1ba9845af211cc88ad542c7a540344bd67d109 Mon Sep 17 00:00:00 2001 From: pan-no-mimi <131193555+pan-no-mimi@users.noreply.github.com> Date: Wed, 23 Oct 2024 21:35:21 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E5=92=8C=E8=A8=B3=E6=BC=8F=E3=82=8C?= =?UTF-8?q?=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1-js/08-prototypes/01-prototype-inheritance/article.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/1-js/08-prototypes/01-prototype-inheritance/article.md b/1-js/08-prototypes/01-prototype-inheritance/article.md index d98f076971..f15170bef7 100644 --- a/1-js/08-prototypes/01-prototype-inheritance/article.md +++ b/1-js/08-prototypes/01-prototype-inheritance/article.md @@ -122,7 +122,8 @@ alert(longEar.jumps); // true (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`. +ここで `longEar` から何かしらを読み取ろうとして、それが見つからなかった場合、JavaScript はまず `rabbit`、次に `animal` の順に探しに行きます。 + 実際には、2つの制限があります。: From 64f1526770025d449563347f3d340c64bf9fdde3 Mon Sep 17 00:00:00 2001 From: pan-no-mimi <131193555+pan-no-mimi@users.noreply.github.com> Date: Wed, 23 Oct 2024 21:42:57 +0900 Subject: [PATCH 2/2] Update article.md --- 1-js/08-prototypes/01-prototype-inheritance/article.md | 1 - 1 file changed, 1 deletion(-) diff --git a/1-js/08-prototypes/01-prototype-inheritance/article.md b/1-js/08-prototypes/01-prototype-inheritance/article.md index f15170bef7..94c960f4ad 100644 --- a/1-js/08-prototypes/01-prototype-inheritance/article.md +++ b/1-js/08-prototypes/01-prototype-inheritance/article.md @@ -124,7 +124,6 @@ alert(longEar.jumps); // true (rabbit から) ここで `longEar` から何かしらを読み取ろうとして、それが見つからなかった場合、JavaScript はまず `rabbit`、次に `animal` の順に探しに行きます。 - 実際には、2つの制限があります。: 1. 参照を循環させることはできません。JavaScriptは、循環するように `__proto__` を割り当てようとするとエラーになります。