<<<<<<< HEAD Code Wars - Brett Crafton

Beginner - Lost Without a Map

Question

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

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

Solution by -

My Solution


	function maps(x){
		return x.map(x => x * 2)
		}
				

Try it yourself - CodeWars

======= Code Wars - Brett Crafton

Beginner - Lost Without a Map

Question

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

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

Solution by -

My Solution


	function maps(x){
		return x.map(x => x * 2)
		}
				

Try it yourself - CodeWars

>>>>>>> 0e614172debaa009c8d31330edbeb3b765b59c39