Testing Objects for Properties problem - weird unexpected token issue

Testing Objects for Properties problem - weird unexpected token issue
0

#1

I am getting a strange unexpected token error. Can anyone work out what is going on? Seems to be a problem with the else but I have no idea what is going on. I’ve attached images to show what is happening. Thanksjs1 js2


#2

You have a semicolon on line 10 just before your curly bracket


#3

:roll_eyes: Thank you!! Silly mistake to make.