What is wrong with this syntax?


#1



I'm receiving a syntax error with the code below. The console is states: "SyntaxError: missing } after property list". I can't seem to find the problem, though. Could anyone help me out?


var friends = {
    bill: {
        firstName: "Bill",
        lastName: "Stevens",
        number: 555-5555,
        address: ['21 Fleet Street', 'Soho', 'London', 'L64 98T'],
        },
    steve: {
        firstName: "Steve",
        lastName: "Billson",
        number: 666-6666,
        address: ['65 Landswood Ave', 'Oldbury', 'West-Midlands', 'B69 9QF'],
        },
    richard: {
        firstName: "Richard",
        lastName: "Richards",
        number: 777-7777.
        address: ['99 Lakeland Ave', 'Quarry Bank', 'West-Midlands', 'DY5 1EQ'],
        },
    lola: {
        firstName: "Lola",
        lastName: "Tomola",
        number: 888-8888,
        address: ['55 Keppel Wharf', 'Merkel Street', 'Chipston', 'C60 1NU'],
        }
};


#2

this line:

number: 777-7777.

you have a . at the end, this should be a ,


#3

Ah, how silly of me! Thanks!


#4