Last active
August 29, 2015 14:04
-
-
Save alanbsmith/963c7214e01401c3f78f to your computer and use it in GitHub Desktop.
merge & sort 3 arrays
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
a = [1,4,9] | |
b = [2,3,5] | |
c = [6,7,8] | |
(a+b+c).sort | |
=> [1, 2, 3, 4, 5, 6, 7, 8, 9] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment