Skip to content
Advertisement

Syntax error on token “;”, { expected after this token

why is there syntax error on this line ( shown below )

JavaScript

Advertisement

Answer

You forgot the entry point method declaration. Try adding:

JavaScript

before the line where you got the error.

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement