var friends = {};
friends.bill = {};
friends.steve = {};

friends.bill.firstName = "Bill";
friends.bill.lastName = "Gates";
friends.bill.number = "773-773-7733";
friends.bill.address = ['One Microsoft Way', 'Redmond', 'WA', '98052'];

friends.steve = {
    firstName: "Steve",
    lastName: "Jobs",
    number: "206-206-2006",
    address: ['Two Apple Ave', 'Chicago', 'IL', '60052']
};




@@ -382,9 +382,222 @@
 '%5D%0A%7D;%0A%0A%0A
+var search = function(name)%7B%0A    for (var key in friends)%7B%0A        if (name  === friends%5Bkey%5D.firstName)%7B%0A            console.log(friends%5Bkey%5D);%0A            return friends%5Bkey%5D;%0A        %7D%0A    %7D%0A%7D;%0Asearch('Steve');
 %0A

make function and call it