Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d4ee188

Browse files
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‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /