Pergunta de entrevista da empresa X

What is the difference between Array.prototype.map and Array.prototype.forEach