Réponse

map

Explication

Ex : const fruits_li = fruits.map(fruit => `<li>${fruit}</li>`);

Question

Quelle méthode pour créer un tableau à partir des éléments d'un autre tableau ?

Thématique