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 Evaluations
developer avatar
Alexia
25/05/2022
Pas assez de temps
developer avatar
Auteur anonyme
13/06/2022
Bonjour Alexia, j'augmente la durée de la question. Merci.
developer avatar
Auteur anonyme
01/03/2023
pas le temps d'une relecture, comme sur chacune des questions.