[an error occurred while processing this directive] [an error occurred while processing this directive]

ES6 – Les méthodes map() et filter()

La méthode map()

La méthode map() retourne un tableau contenant tous les éléments d’un tableau initial sur lequel une fonction est appliquée.

Elle évite l’utilisation d’une boucle pour parcourir manuellement les éléments du tableau un par un, avec for ou forEach()

Publier par sm2017 dans ES6 - Les méthodes map() et filter() Commentaires fermés sur ES6 – La méthode map()
[an error occurred while processing this directive]
[an error occurred while processing this directive]
[an error occurred while processing this directive]