(family[i].name)" is not defined


for(var i = 0; i <= family.length; i++) {
console.log (family[i]);
“(family[i}.name)” is not defined.

27. Loop The Loop error message. Help Please?

This is exceeding the length of the array. Because of zero indexing, the last index is always one less than the length, so our condition should end the loop one index sooner.

    i < family.length;