Making A Contact List


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

https://www.codecademy.com/courses/javascript-beginner-en-3bmfN/0/6?curriculum_id=506324b3a7dffd00020bf661#
<In what way does your code behave incorrectly? Include ALL error messages.>

```

var friends={
bill:{
firstName:‘Bill’,
lastName:‘Gates’,
number:4165678850,
address: [‘One Microsoft Way’,‘Redmond’,‘WA’,‘98052’]
},
steve:{
firstName:‘Steve’,
lastName:‘Jobs’,
number:1234567890,
address:[‘Twenty Apple Way’,‘Calafornia’,‘U.S.A’,‘98052’]}

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

<do not remove the three backticks above>

#2

HI you should use the for loop inside the function list