少し工夫が必要 - accepted / - tried
Array.prototype.map()を実装してください。
[1,2,3].myMap(num => num * 2)
Array.prototype.map() は使わないでください。
関連するリスト
常にもっといい方法を求めよう。