SAMCO Securities interview question

Difference between .push and .map