Address as an Array using literal Notation


#1

I am having a problem with syntax and I can't find it. I am practing literal notation and it seems, from looking at the threads here, that most are using constructor.

    bill: {
        firstName: "Bill",
        lastName: "Gates",
        number: "(206) 555-5555",
        address: ['One Microsoft Way, 'Redmond', 'WA','98052']
    },
    steve: { 
        firstName: "Steve",
        lastName: "Jobs",
        number: "(206) 555-3333",
        address: ['34 Bay Drive', 'Seattle', 'WA','98052']
    },
    joanie: {
        firstName: "Joanie",
        lastName: "Cat",
        number: "(555) 555-1212",
        address: ['12 MainCat Ave','Las Vegas','NV','89222']
    }
};



#2

Syntax highlighting helps us to spot simple errors:

    'One Microsoft Way'

#3

Thanks for answering so quickly!