Question d’entretien chez Versal Group

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