Keep getting error code


#1


var friends = {
    friend.bill: {
       firstName: "Bill",
       lastName: "Whithers",
       number: "333-333-3333",
       address: ['Golden Valley Tr.', 'Castle Rock', 'CO', '80109']
       }
    friend.steve: {
       firstName: "Steve",
       lastName: "Renton",
       number: "222-222-2222",
       address: ['Flower Rd.', 'Castle Rock', 'CO', '80109']
       }
       var list = function(friends){
    for (var friend in friends){
        console.log(friend);
    }
};


#2

your list function should be after your friends object, currently it is inside the friends object


#3

oh got it thank you!!


#4