Build a Library: .toggleCheckOutStatus is not a function

Hi!

I’m trying to complete the “Build a Library” project and it returns a “Type Error…is not a function” error message. It also comes up if I remove the .toggleCheckOutStatus() and try just the ratings, and then it tells me that .addRating() is not a function. Since it’s coming up with both, I don’t think the parent class is extending to the child classes. I’ve gone through the project video and do not see any discrepancies, but there’s got to be one somewhere! Please help. Here is my code.

https://gist.github.com/ajlingo/d45deecf4489c40bb79272223e35bf14
Thank you!

You’re really really close

What class did you use for your historyOfEverything variable when you declared it?

Thank you so much! It seems like I always miss something super duper small. Cheers.

1 Like