some code with map it doesnt work
This commit is contained in:
@@ -55,3 +55,9 @@ 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);
|
||||
console.log(mapped);
|
||||
|
||||
Reference in New Issue
Block a user