Created
February 27, 2013 21:28
-
-
Save tmcw/5051892 to your computer and use it in GitHub Desktop.
mistakes require demo
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
// You can include libraries in mistakes | |
// with a magic function called require(), | |
// which simply loads javascript in a script tag. | |
// underscore.js | |
// http://documentcloud.github.com/underscore/ | |
require('http://bit.ly/3Pt26u'); | |
_.chain([[5, 1, 7], [3, 2, 1]]) | |
.invoke('sort') | |
.flatten() | |
.value(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment