Last active
April 16, 2018 12:50
-
-
Save XingMXTeam/573f33c7de873166534d8643bda74af9 to your computer and use it in GitHub Desktop.
Revisions
-
XingMXTeam revised this gist
Apr 16, 2018 . No changes.There are no files selected for viewing
-
XingMXTeam created this gist
Apr 16, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ function spliceOne(list, index) { for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) list[i] = list[k]; list.pop(); }