Pergunta de entrevista da empresa Infosys

Difference between map and map object

Resposta da entrevista

Sigiloso

7 de nov. de 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