中等难度 -通过 / -执行
请实现Array.prototype.map()。
[1,2,3].myMap(num => num * 2) // [2,4,6]
不要直接使用Array.prototype.map()。
相关题目列表
注意特例。