diff --git a/1-js/09-classes/02-class-inheritance/3-class-extend-object/task.md b/1-js/09-classes/02-class-inheritance/3-class-extend-object/task.md index b82a4255..9c780dc2 100644 --- a/1-js/09-classes/02-class-inheritance/3-class-extend-object/task.md +++ b/1-js/09-classes/02-class-inheritance/3-class-extend-object/task.md @@ -32,6 +32,7 @@ Here's an example of such code (it doesn't work -- why? fix it?): ```js class Rabbit extends Object { constructor(name) { + super(); this.name = name; } }