Testing Objects for Properties problem - weird unexpected token issue

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

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

1 Like

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