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 professors of professors) { 
    console.log(''Here's your teacher'' + professors.name + professors.age + ''years old\n'');
 }
Author: KahinaStatus: Archived(New question!)Question passed 5 times
0
Community EvaluationsNo one has reviewed this question yet, be the first!