Implementing a Custom Map Function in JavaScript

Implementing a Custom Map Function in JavaScript