tahamajs's picture
download
raw
410 Bytes
define(['./_setup'], function (_setup) {
// Chunk a single array into multiple arrays, each containing `count` or fewer
// items.
function chunk(array, count) {
if (count == null || count < 1) return [];
var result = [];
var i = 0, length = array.length;
while (i < length) {
result.push(_setup.slice.call(array, i, i += count));
}
return result;
}
return chunk;
});

Xet Storage Details

Size:
410 Bytes
·
Xet hash:
15cbf7b65220317ef7a1ce26d81565cfc3539fd94bd4d1f5b66d040a2560ab3a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.