Question d’entretien chez Infosys

Difference between map and map object

Réponse à la question d'entretien

Utilisateur anonyme

7 nov. 2024

map is a function which operates on array and it iterates on each element in the array and applies transformation with output as array. mapobject is a function used to iterate on key value pairs in the object and do tranformations with output as object