initial commit

This commit is contained in:
2026-01-17 08:33:44 +01:00
commit 7920e8c4e5
9 changed files with 251 additions and 0 deletions

6
exercice2.js Normal file
View File

@@ -0,0 +1,6 @@
function afficherUtilisateur(user) {
console.log(`${user.nom} a ${user.age} ans`);
}
afficherUtilisateur({ nom: "Alice", age: 25 });
afficherUtilisateur({ nom: "Bob" }); // manque age