Question from the Javascript - Fundamentals test

Archived

What does the following code display?

const professors = [ 
    { name: "Ritchie", age: 70, },
    {name: "Eich", age: 60,}];
for (let professor of professors) { 
    console.log("Here is your teacher " + professor.name +" "+ professor.age+" " + "years old");
 }
Author: GuillaumeStatus: Archived(New question!)(Update)Question passed 1010 times
0
Community EvaluationsNo one has reviewed this question yet, be the first!