4/8 don't know what is wrong with my code


#1


Here is my code, i don't know, what i did wrong. Can you please help me?


#2

var friends = {
    'bill': {
        firstName: 'Bill', 
        lastName: '', 
        number: ''
    }, 
    'steve': {
        firstName: 'Steve', 
        lastName: '', 
        number: ''
    }
};

Or, if you want to do it your way, you must first reference friends, like so. friends.bill.firstName


#3

@dantemp, do you mind also adding an explanation as to what you're doing? It's great you're trying to help out, but just posting answers hurts others, more than it helps. It's best to explain how things works so similar situations are able to be recognized in the future.


#4

@lolman I try, but this one was pretty straightforward.