Question d’entretien chez Cetera Labs

Array.prototype.map() How does it work?

Réponse à la question d'entretien

Utilisateur anonyme

6 nov. 2023

const new_array = arr.map(function callback( currentValue[, index[, array]]) { // return new_array }[, thisArg])