fixed the map thing
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user