8. Keep getting the same error code: SyntaxError: Unexpected token {


#1

SyntaxError: Unexpected token {

var suitcase = {
shirt: "Hawaiian"
};

if(suitcase.hasOwnProperty('shorts'){
console.log(suitcase.shorts);
}
else{
suitcase.shorts = "blue";
console.log(suitcase.shorts);
}


#2

looks like you are missing one more ")" in the above line