8. Dressed to Impress


The system says "Way to go, go to next lesson"but the black monitor shows "undefined". I didn't print out the message.

var suitcase = {
    shirt: "Hawaiian"
if ( suitcase.hasOwnProperty('shorts') ){}
else {
    suitcase.shirt="New shorts"


You typed suitcase.shirt instead of suitcase.shorts


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