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: KahinaStatus: Archived(New question!)(Update)Question passed 14 times
-2
Community EvaluationsNo one has reviewed this question yet, be the first!