boucle à travers des paires de valeurs clés js
for (const [key, value] of Object.entries(object1)) {
console.log(`${key}: ${value}`);
}
Average Ant
for (const [key, value] of Object.entries(object1)) {
console.log(`${key}: ${value}`);
}