#6 List 'em all


#1



Where is unexpected token var ? :sob:


var friends = {
    john: {
        firstName: 'John',
        lastName: 'Michelle',
        number: 12345,
        address: ['Next to my friend house' , ' Pretty unsure']
        },
    bill: {
        firstName: 'Bill',
        lastName: 'Gates',
        number : 67890,
        address: ['One Microsoft Way', 'Pretty far' , 'WA' ]
        },
    steve: {
        fisrtName: 'Steve',
        lastName: 'Jobs',
        number: 34567,
        address: ['One Apple Way', 'Pretty far too',]
        }
var list = function (friends) {
 for (var firstName in friends) {
     console.log(firstName);
}


#2

You are missing a closing brace in two places. To close the friends object literal; and to close the list() function.


#3

Thank you :blush: