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