PromoCursed/node_modules/rc-upload/lib/uid.js
2024-08-20 23:25:37 +04:00

12 lines
257 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = uid;
var now = +new Date();
var index = 0;
function uid() {
// eslint-disable-next-line no-plusplus
return "rc-upload-".concat(now, "-").concat(++index);
}