PLEASE HELP! i Know I'm very close


#1

var friends = {

bill: {
    firstName: "Bill",
    lastName: "Gates",
    number: "(323) 304-7812",
    address: ['1234 west side ave', 'Los Angeles', 'CA', '90046']
    };

steve: {
    firstName: "Steve",
    lastName: "Jobs",
    number: "(323) 304-7812",
    address: ['358 mission ave', 'Los Angeles', 'CA', '90053']
    };

var list = function(object) {
for (var key in friends) {
console.log(key);

}

list(friends);

#2

Hello Abhardeman4, after looking over your code I noticed what may be your problem. Your missing a few closing braces }. Like your friends object, and your list function


#3

Thank you so much mr.natesmith. This helped a lot! You're a champ! I fixed it and it worked. thanks a million again.


#4

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