For Assignment 2 I have everything working in the program up to creating the scoringAlgorithms array and scorePrompt function. From my understanding of the directions, the way I have it set gives me this error! deleted screenshots - provide a description of your error and code instead!
I’ve tried looking up online to see if there was a way to put a function into an object, but I haven’t had any luck with that. I’m not even sure if it’s the array itself or the scorePrompt function that is giving me the error since when I delete all that work the program starts working again from before that part of the assignment. Any advice that’ll put me on the right path would be appreciated.
removed replit locations