Last active
February 11, 2017 02:30
-
-
Save saoudrizwan/e096521e9570c9fe2f1c1be0ca7ac7cf to your computer and use it in GitHub Desktop.
This file contains hidden or 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 numbers = [1, 2, 3, 4, 5].map { $0 * 2 } | |
print(numbers) // [2, 4, 6, 8, 10] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment