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 94c8fcb

Browse files
committed
minor fixes
1 parent ea3d179 commit 94c8fcb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ let rabbit = new Rabbit("White Rabbit", 10); // Error: this is not defined.
230230

231231
Whoops! We've got an error. Now we can't create rabbits. What went wrong?
232232

233-
The short answer is: constructors in inheriting classes must call `super(...)`, and (!) do it before using `this`.
233+
The short answer is:
234+
235+
- **Constructors in inheriting classes must call `super(...)`, and (!) do it before using `this`.**
234236

235237
...But why? What's going on here? Indeed, the requirement seems strange.
236238

0 commit comments

Comments
(0)

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