First post to the forums so be easy on me. I’m working my way through the Meal Maker project and am having a few issues - it started with .push() returning undefined but I’ve managed to fix that thanks to some posts on here
My issue with my code now is that my generateRandomMeal() method is returning NaN for the price and undefined for my dishNames. My code is below:
From what I can gather with the error messages I have had with toying with my code - I need to access the dishName & dishPrice properties in the arrays for my courses but I’m not sure how to access these.
Any help would be great as I feel like I’m banging my head against a wall at the moment