Created
March 5, 2016 21:58
-
-
Save anonymous/f82cd9798d85ed42a271 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function list() { | |
var contactsLength = contacts.length; | |
for (var i = 0; i < contacts.length; i ++) { | |
} | |
}; | |
list(); | |
Inside of the loop, add code to call printPerson, passing in the element of the array that the loop is currently at. | |
At the very bottom of the file, call the list function. The list function should then loop through every member of the contacts array and print its information. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment