TechHive interview question

What does map do in an array?