TechHive Interview Question

What does map do in an array?