I can't see what the problem is. (meal maker)

This is my code, i can’t figure out what is wrong. It keeps returning an error which is:

TypeError: Cannot read property ‘push’ of undefined


I have to say this is a fairly common problem.

I think the heart of it is that we should try to test functions and methods as soon as we write them, so we don’t build a lot of code on top of untested code.

You’re missing a closing bracket in your _courses (line 7), if you add it and clean bracket scheme your code will run.

It happens to all of us!