4. Adding properties!


#1

I'm stuck and having a hard time continuing not sure which direction to go


var friends = {
bill: {
firstName: "Bill",
lastName: "Gates",
nunmber: "(209) 269-6947)",
address: ['6700 International', 'Oakland', 'CA', '94621']
},
steve: {
firstName: "Steve",
lastName: "Jobs",
number: "(310) 465-3240",
address: ['one apple ln', 'Oakland','Ca','94621']
},
};

function list (bill,steve) {
for(var x in friends)
console.log([bill,steve]);
};
Someone please help
, Ive looked everywhere and still cant understand the problem with my code

https://www.codecademy.com/courses/javascript-beginner-en-3bmfN/0/6?curriculum_id=506324b3a7dffd00020bf661


Replace this line with your code.


#2

Which problem? What's the situation?

Your list function is mentioning bill and steve, that's oddly specific isn't it?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.