Arrays • Exercise 2/6

Double Each

00:00
0
15 points

Instructions

Create a function double_each that takes an array of numbers
and returns a new array with each number doubled.

Use the map method for this transformation.

Your Code

Results

Click "Run Tests" to see results