Question d’entretien chez CI&T

What is the difference between map and forEach?