It keeps telling me my syntax is wrong or did i define function list


#1

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


#2

@raylinjones is this ur all code??