List 'em all


#1

why doesn't this work?
friends={
bill:{
firstName: Bill,
lastName: Waterson,
number: "19072544222",
address: ['one microsoft way']
},
steve:{
firstName: Steve,
lastName: Gerran,
number:"19072345678",
address: ['one microsoft way']
}
}
var list = function (friends){
for (var friend in friends) {
console.log(friend)
}
};


#2

nvm i got it the first names were not strings


#3

you do not put the "
example : "Bill "

and you don' t called the function ?
try it and good luck!