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 e431006

Browse files
Update article.md
1 parent 15f7acf commit e431006

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
@@ -323,7 +323,7 @@ There's no own constructor in `Rabbit`, so `Animal` constructor is called.
323323

324324
What's interesting is that in both cases: `new Animal()` and `new Rabbit()`, the `alert` in the line `(*)` shows `animal`.
325325

326-
**In other words, parent constructor always uses its own field value, not the overridden one.**
326+
**In other words, the parent constructor always uses its own field value, not the overridden one.**
327327

328328
What's odd about it?
329329

0 commit comments

Comments
(0)

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