Meal Maker Problem

Hello,

i got problem while doing my project Meal Maker

const menu = {
  _courses: {
    appetizers: [],
    mains: [],
    desserts: [],
  },
  get appetizers() {
    return this._courses.appetizers;
  },
  get mains() {
    return this._courses.mains;
  },
  get desserts() {
    return this._courses.desserts;
  },
  set appetizers(appetizers) {
    this._courses.appetizers = appetizers;
  },
  set mains(mains) {
    this._courses.mains = mains;
  },
  set desserts(desserts) {
    this._courses.desserts = desserts;
  }
  get courses() {
    return{
      appetizers: this.appetizers,
      mains: this.mains,
      desserts: this.desserts,
    };
  },
};

when i press save i got error
’ /home/ccuser/workspace/learn-javascript-objects-meal-maker/app.js:25
get courses() {
^^ ’

so i think the problem in
{ get courses }
but its required
what should i do !!

When the error is at the start of the line like that, you should also check the line above:

}

you missed/forgot a comma (,) to separate properties.