清空
This commit is contained in:
1 parent
7c2ab0b7ad
commit
cff33ad7d1
6370 files changed
+378844
-82245
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
module.exports = toArray
|
||||
|
||||
function toArray(list, index) {
|
||||
var array = []
|
||||
|
||||
index = index || 0
|
||||
|
||||
for (var i = index || 0; i < list.length; i++) {
|
||||
array[i - index] = list[i]
|
||||
}
|
||||
|
||||
return array
|
||||
}
|
||||
Reference in new issue
Block a user