Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Object-Oriented JavaScript (2015) Prototypal Inheritance Prototypal Inheritance Review

parameters in example of the quiz are wrong

Hi together,

dear treehousers. Could you have a look at the ebook constructor? The variables "name" and "dob" that you want to pass to the Book constructor do not exist at this point of time.

function Book(title, author) { this.title = title; this.author = author; }

function Ebook(title, author, fileSize) { Book.call(this, name, dob); this.fileSize = fileSize; }

Its not needed to solve the task, so its probably less important. Just wanted to mention it.

Best regards, Stefan

2 Answers

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

I awarded you the Exterminator badge but you already had it!

No problem, you're welcome. :)