Meal Maker: setter method

https://www.codecademy.com/courses/introduction-to-javascript/projects/meal-maker?action=resume_content_item

For step 8, in the .addDishToCourse ( ) method, it says to push the dish object to the appropriate array in _courses.

Instead of this._courses[courseName].push(dish) , if I wanted to use a setter method would it be

this._courses[courseName] = dish?

Yes. Then inside the setter use push.

Note: Do not return anything from a setter.