From d4ee188eff3a5057a378bf7317877299e3381d5a Mon Sep 17 00:00:00 2001 From: Itai Leshem Date: Tue, 2 Nov 2021 19:53:01 +0200 Subject: [PATCH] Update article.md --- 1-js/09-classes/02-class-inheritance/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/09-classes/02-class-inheritance/article.md b/1-js/09-classes/02-class-inheritance/article.md index 618d0aac..fe357cfe 100644 --- a/1-js/09-classes/02-class-inheritance/article.md +++ b/1-js/09-classes/02-class-inheritance/article.md @@ -360,7 +360,7 @@ And that's what we naturally expect. When the parent constructor is called in th ...But for class fields it's not so. As said, the parent constructor always uses the parent field. -Why is there the difference? +Why is there a difference? Well, the reason is in the field initialization order. The class field is initialized: - Before constructor for the base class (that doesn't extend anything),