Skip to content

Commit d4ee188

Browse files
authored
Update article.md
1 parent e431006 commit d4ee188

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/02-class-inheritance/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ And that's what we naturally expect. When the parent constructor is called in th
360360

361361
...But for class fields it's not so. As said, the parent constructor always uses the parent field.
362362

363-
Why is there the difference?
363+
Why is there a difference?
364364

365365
Well, the reason is in the field initialization order. The class field is initialized:
366366
- Before constructor for the base class (that doesn't extend anything),

0 commit comments

Comments
 (0)