In the below project (Meal Maker) i am struggling to fully understand the implementation of the Setter Methods and when they are being called.
So from my understanding (using set appitizer(appitizerIn) as reference)
courseName comes from the input in 53.
creates a dish object with the inputs from like 53;
this._courses[courseName] calls set appitizers(appitizersIn)
appitizer in gets the push.(dish)?
the [courseName].push is calling the appropriate set method using bracket notation by using the courseName from 53 and pushing it to the appitizers property array in _courses?
is this correct?