Implement Your Own map() function: To understand how map() works in Javascript, I've built my own simplified version of it, named myMap().