6. list em all


#1

Not sure what I'm doing wrong. suggestions please


#2

Hi you should print firstName since you store all the friends inside it , with the for loop.


#3

This is how I did the function, and it worked for me:

var list = function(friends){
    for(var bill in friends) {  
        console.log(bill)
    }
}

Like @wizmarco said, you aren't printing the right thing, I guess.


#4

Thank you! :slightly_smiling: