Frage im Vorstellungsgespräch bei Softdocs

What's the difference be map and forEach function in JavaScript?