fixed the map thing

This commit is contained in:
2026-06-23 14:35:28 +02:00
parent 17d969efe4
commit 9b04253827
2 changed files with 3 additions and 4 deletions
+1
View File
@@ -87,6 +87,7 @@ zoneMessage.addEventListener("keydown", function (event) {
if (event.key === "Enter" && event.ctrlKey) {
formulaire.requestSubmit();
}
preventDefault();
if (event.key === "Escape") {
zoneMessage.value = "";
rafraichirCompteur();
+2 -4
View File
@@ -56,8 +56,6 @@ document.getElementById("trier").addEventListener("click", function () {
afficherEquipe(triee);
});
const array = equipe.filter(function (stagiaire) {
return stagiaire.nom.toLowerCase().includes(mélissa, guillaume);
});
const mapped = array.map((x) => x - stagiaire.job - stagiaire.partie);
const array = equipe;
const mapped = array.map((x) => x.nom);
console.log(mapped);