Functional Programming: Implement map on a Prototype - .myMap

Write your own Array.prototype.myMap(), which should behave exactly like Array.prototype.map().

How is it that js understands myMap() the same as .map()? Would .yourMap() also work? How does js interpret them as the same?

Thanks
If I read you correctly it’s the format of the function that describes it as the map method?
Does it matter if the word “map” is in the naming or is it just for clarity?

Thank you…
I’ll have to read your comments over a few times to let it sink in to my old brain :slight_smile: