Created
December 31, 2014 21:59
-
-
Save amadeus/ceab98e82310dbd1efd4 to your computer and use it in GitHub Desktop.
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 quickSplice = function quickSplice(arr, index){ | |
var len = arr.length; | |
if (len) { | |
while (index < len){ | |
arr[index++] = arr[index]; | |
} | |
--arr.length; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment