4. Listing Everybody


#1


https://www.codecademy.com/en/courses/building-an-address-book/0/4?curriculum_id=506324b3a7dffd00020bf661#

Oops, try again. It looks like your list function didn't console.log "Bob Jones". Did you remember to call list(); after creating it?


var list = function (){
    var contactsLength = contacts;
}
for (var i = 0; i < contacts.length; i++){
    console.log (contacts[i])
}

list();


#2

HI the for loop should e inside the list function

var list = function() {
 
#here put the for loop

}