Dressed to Impress


Dressed to Impress

Returns error: Unexpected token 'else'

It runs in independent command, but fails in the exercise. I'm sure I'm missing something simple.

var suitcase = {
    shirt: "Hawaiian"

    } else{
    suitcase.shorts = "red";


Nevermind, I figured it out. I had a ; after shorts that I didn't need.


Cool you did! :wink:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.