How to print out only the names in lesson 27?


This is what I got and it worked.

27 Loop The Loop

Now, is there a way to only print out the names? I think thats what the instructions were: Print out the names in the order of the array.


In the last part, you should have:

for(i = 0; i < family.length; i++){ // remove <=
    console.log(family[i].name); // replace ,