Pergunta de entrevista da empresa HyScaler

Difference between forEach and map method.