+ 1

Syntax error

I can’t find the syntax error. My code does something before I added the document.ondownclick and below parts. Even with that information I still can find the syntax error https://code.sololearn.com/WJ8PMSOr31Cb/?ref=app

31st Jan 2022, 3:09 PM
Matthew Evans
1 Respuesta
+ 1
Arrow function, () => {}, put the arrow ( => ) in line 47 and 51, delete one curly bracket in line 46 and add it in the end.
31st Jan 2022, 3:16 PM
Mohammed