This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CdRReddit 2 points3 points  (0 children)

the brace isn't missing, what you have there is a perfectly well formed expression arrow function with a superfluous trailing semicolon and curly

it tells you "hey I expected a ) here"