Pregunta de entrevista de Versal Group

What's the difference between forEach and map in JavaScript?