I don't know this code problem ? help me


#1

var friends = {
bill:{
firstName: "Bill",
lastName: "gates",
number: 444-5555,
address:["Microsoft", "seattle"]
},
steve:{
firstName: "Steve",
lastName: "jobs",
number: 333-777,
address:[ "silicon", "vally"]

    }

};
var list = funtion(friends) {
for(var prop in friends) {
console.log(prop);
}
};


#2

var list = funtion(friends) {
             ^

spelling errors kill programs.