Why is my Program stuck?

Hi guys, my program is perpetually loading while spitting out an “unexpected end to input” error.
Whats the issue?



That’s almost always a simple syntax error. Check the locations of your }s, )s, and ;s

1 Like

@ArielLeslie is right. At line 29 you forgot to close a var declaration.

var midwayReset =()=> {
  if (gameOver === false) {
} <---- missing on your pen
1 Like