Hi guys, my program is perpetually loading while spitting out an “unexpected end to input” error.
Whats the issue?
https://codepen.io/Modestas/pen/dzZyrz
Thanks!
Hi guys, my program is perpetually loading while spitting out an “unexpected end to input” error.
Whats the issue?
https://codepen.io/Modestas/pen/dzZyrz
Thanks!
That’s almost always a simple syntax error. Check the locations of your }
s, )
s, and ;
s
@ArielLeslie is right. At line 29 you forgot to close a var declaration.
var midwayReset =()=> {
if (gameOver === false) {
newColors();
}
} <---- missing on your pen