Pregunta de entrevista de HyScaler

Difference between forEach and map method.