Assignment 1 Github Failing

So I’ve been trying for the last few hours to successfully get Github to accept my solution to assignment but it keeps failing me. The program itself works (in my opinion) like it should work as described in the assignment, but I keep throwing these two errors up on GitHub


I’ve tried changing both my questions and correctAnswers array since that was what was throwing the errors, but it has not yet worked. Can someone please tell me if I am missing something more fundamental in my code?

https://repl.it/@SprintsMcGee/assignment-1-candidate-testing-SprintsMcGee#candidate-testing.js

I figured out what was going on and was able to fix it and submit it successfully