Created
October 12, 2016 04:34
-
-
Save matthieu-D/f17396d25650de2fbe9414af0a7ccc9d 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
let array1 = [1, 2, 3]; | |
let sum = array1.map(value => value + 1); | |
// 2,3,4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment