this doesnt seem thje best way to do this

This commit is contained in:
2019-02-28 21:07:26 +01:00
parent 48f2998f7f
commit 48c52db2e0

View File

@@ -16,7 +16,7 @@ var arraySize = 25
function splice(arr){ function splice(arr){
fin = []; fin = [];
while(arr.length() > arraySize){ while(arr.length > arraySize){
fin.push(arr.splice(0,24)) fin.push(arr.splice(0,24))
} }
fin.push(arr); fin.push(arr);