Write a function named doubleNumbers that takes an array of numbers as a parameter. The function should return a new array where each element of the original array is doubled.
numbers
=Unlock all functions
The first 10 functions are free. Get lifetime access to all 100 with a one-time payment — no subscription.
Upgrade to Pro