Build a Library - JavaScript

Hello Guys,

I have been trying to solve the Code academy exercise ‘Build a Library’ and have run into an obstacle.

Somehow I keep getting an error due to my .push() property being undefined?

The Error occurs in line js:40!

https://gist.github.com/4a9afaa01a60776848339155428246ec

Perhaps someone can shed some light into the matter?

Dankeschön x
A.

Hey, your constructor doesn’t work (line 2).

constuctor (title) {

there’s a typo that’s easy to miss.

2 Likes

Omg…I was going insane… Thank you so much X

3 Likes