Created
October 4, 2011 18:28
-
-
Save medikoo/1262405 to your computer and use it in GitHub Desktop.
Fast direct slice
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 slice = (function (slice) { | |
return function (list, start, end) { | |
return slice.call(list, start, end); | |
}; | |
}([].slice)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment