6. List 'em all! can someone explain?


6. List 'em all!

can someone explain to me what this code is about? I'm kinda confused..

var list = function(friends){
    for (var key in friends){


its a function which loops over all properties of the friends objects, and then print the property/keys


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