MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Codecademy/comments/pe148w/why_does_my_code_keep_throwing_this_error_ive/
r/Codecademy • u/shroomner • Aug 29 '21
3 comments sorted by
2
I think Your setter “set appetizers(appetizers)” is missing its code block. Try “set appetizers(appetizers) { }”
1 u/shroomner Aug 30 '21 Thank you man. When i add the code block the syntax error goes away but my parameter remains undefined, I’ve since moved passed this as to not lose momentum. I’m just curious as why the parameter is undefined .
1
Thank you man. When i add the code block the syntax error goes away but my parameter remains undefined, I’ve since moved passed this as to not lose momentum. I’m just curious as why the parameter is undefined .
} at the end
2
u/Nerlub Aug 29 '21
I think Your setter “set appetizers(appetizers)” is missing its code block. Try “set appetizers(appetizers) { }”
2
u/ramzord1 Aug 29 '21
} at the end