Created
May 17, 2016 00:42
-
-
Save andredublin/7f6823e3015085cf2e3cbcd3328151ed to your computer and use it in GitHub Desktop.
js map identity
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
var id = x => x | |
var xs = [1, 2, 3, 4, 5].map(id(x)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment