Search function doesn't return Steve's contact information


#1

var list = function(item){
for(var friend in friends){
console.log(friend.item);
}
};

What am I doing wrong?


#2

I might be wrong... but isn't it friend[item]? :confused:


#3

Oh my lord, you just saved my life.