Meal Maker Javascript (huge error) please help :)

Hi there! Can you help me with this?

I’m trying to get the Meal Maker to work, but I got this huge error…

This is my code : Meal Maker

I’m really stuck… Hope that somebody can help me:)

Kind regards!


Getters don’t have to be the exact same name as the piece you are calling.

_courses: {
    appetizers: [],
    mains: [],
    desserts: [],

get _courses() {
  return {
    appetizers: this._courses.appetizers, 
    mains: this._courses.mains, 
    dessert: this._courses.desserts

_courses has a _ because it is never going to be directly called outside of the function. Calling it twice causes this error.