If I use:
this.courses[courseName] = dish;
I will get a ‘Maximum call stack size exceeded error’. I’ve done some Googling and it looks like numerous people have had this same issue in the past. Is it possible to actually use the getter/setter methods to complete the exercise as it suggests? It seems there is a circular-reference in the code itself that it asks you to write.