4. Adding Properties


#1

I'm not sure where I'm missing at this point. I keep getting the error "Unexpected token." I'm missing punctuation somewhere, but I can't see it. Could anyone see what's wrong with the script below? Thanks!


var friends = {
    bill: {
        firstName: "Bill",
        lastName: "Gates",
        number: "555-555-5555"
        };
        
    steve: {
        firstName: "Steve",
        lastName: "Jobs",
        number: "888-888-8888"
        };
};


#2

replace the first semicolon with a comma and remove the second


#3

Whoa! How did I not know that?! Thank you so much! I would've been banging my head against the wall for days.


#4

Enfim, resolvido:
var friends = {
bill: {
firstName: "Bill",
lastName: "Gates",
number: "(011) 222-3546"
},
steve: {
firstName: "Steve",
lastName: "Jobs",
number: "(555) 333-7584"
},
};