Creating a new object Great work! You just created your very first object. There are two ways to create an object: using object literal notation (which is what you just did) and using the object constructor. Literal notation is just creating an object with curly braces, like this: var myObj = { type: 'fancy', disposition: 'sunny' }; var emptyObj = {}; When you use the constructor, the syntax looks like this: var myObj = new Object(); This tells JavaScript: "I want you to make me a new thing, and I want that thing to be an Object. You can add keys to your object after you've created it in two ways: myObj["name"] = "Charlie"; myObj.name = "Charlie"; Both are correct, and the second is shorthand for the first. See how this is sort of similar to arrays? ONLY RETURN OBJECTS var friends = { bill: { firstName: "Bill", lastName: "billslastname", number: "32", address: ['street address','city','state','zip'] }, steve: { firstName: "Steve", lastName: "steveslastname", number: "666", address: ['street address','city','state','zip'] }, scubasteve: { firstName: "Scubasteve", lastName: "scubasteveslastname", address: ['street address','city','state','zip'] } }; var list = function(friends){ for(var prop in friends){ console.log(prop); } }; SEARCH FOR A FRIEND var friends = { bill: { firstName: "Bill", lastName: "billslastname", number: "32", address: ['street address','city','state','zip'] }, steve: { firstName: "Steve", lastName: "steveslastname", number: "666", address: ['street address','city','state','zip'] }, scubasteve: { firstName: "Scubasteve", lastName: "scubasteveslastname", address: ['street address','city','state','zip'] } }; var list = function(friends){ for(var prop in friends){ console.log(prop); } }; var search = function(name){ for(var prop in name){ console.log(friends); return friends; } };