Meal Maker Project Error

I’m working on the Meal Maker Project, and line 40 of my code keeps returning a syntax error (unexpected identifier). I’ve changed the formatting of the generateRandomMeal function around a couple times to see if that would fix it, but no dice.


const menu = {
  _courses: {
    appetizers: [],
    mains: [],
    desserts: []
  },

  get appetizers() {},
  set appetizers(appetizerIn) {},

  get mains() {},
  set mains(mainsIn) {},

  get desserts() {},
  set desserts(dessertsIn) {},

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

  addDishToCourse(courseName, dishName, dishPrice) {
    const dish = {
      name: dishName,
      price: dishPrice
    };

    this._courses[courseName].push(dish);
  },

  getRandomDishFromCourse(courseName) {
    const dishes = this._courses[courseName];
    const randomIndex = Math.floor(Math.random() * dishes.length);
    return dishes[randomIndex];
  }

  generateRandomMeal() {
    const appetizer = this.getRandomDishFromCourse('appetizers');
    const main = this.getRandomDishFromCourse('mains');
    const dessert = this.getRandomDishFromCourse('desserts');
    const totalPrice = appetizer.price + main.price + dessert.price

    return `You ordered:
    Appetizer: ${appetizer}
    Main Dish: ${main}
    Dessert: ${dessert}
    Total Cost ${totalPrice}`;
  }  
};

Nevermind! The issue was on the line before the function declaration. I had a missing comma, so the code editor freaked out.