You must log in or register to comment.
“oh it was just a missing semicolon”
Rubber duck debugging often helps.
Linter issue.
Even if you’re not using one, you should be instinctively looking for a semicolon the moment you get a syntax error unless you’re a complete beginner.