Pergunta de entrevista da empresa Meta

What's the difference between javascript map and forEach