Rizzle interview question

Write polyfill for map function.