How to take array of numbers and return array with numbers doubled?

后端 未结 0 1244
孤城傲影
孤城傲影 2021-01-11 09:43

I\'m trying to write a function that will take an array of numbers and return an array with those numbers doubled. For example 1, 2, 3 and return should be 2, 4, 6

Th

相关标签:
回答
  • 消灭零回复
提交回复
热议问题