Skip to content

Latest commit

 

History

History

beginner-lost-without-a-map

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Beginner - Lost Without a Map

Given an array of integers, return a new array with each value doubled.

Example

[1, 2, 3] --> [2, 4, 6]

For the beginner, try to use the map method - it comes in very handy quite a lot so is a good one to know.

Link

Codewars