Domanda di colloquio di Pushpay

What is the difference between forEach and map array functions in js