Skip to content

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

+3-1
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)