Last active
February 15, 2019 16:43
-
-
Save micheleriva/bd879c505605362e1141438adb3d45df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const arr = [0, 1, 2, 3, 4, 5] | |
const newArray = arr.map((number) => number * 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment