Quantumbraid's picture
download
raw
546 Bytes
function curry(fn) {
return function curried() {
var _this = this;
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
return args.length >= fn.length ? fn.apply(this, args) : function () {
for (var _len2 = arguments.length, nextArgs = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
nextArgs[_key2] = arguments[_key2];
}
return curried.apply(_this, [].concat(args, nextArgs));
};
};
}
export default curry;

Xet Storage Details

Size:
546 Bytes
·
Xet hash:
377bf83cca180554795164e5d3ce21bd22468a8ee074172ffcef04190fc5dffd

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