Pages

🖋️Devoir sur table : 5 min

const ratings = [
  { user: "John", score: 3, type: "🥇" },
  { user: "Jane", score: 4, type: "🥈" },
  { user: "David", score: 5, type: "🥇" },
  { user: "Peter", score: 2, type: "🥉" },
];

// code;
}
console.log(`Total medals: ${medals}`); // 14

// code

console.log(`Total 🥇: ${goldMedals}`); // 8