dependency-injection-cat
Version:
DI Cat is a truly clean DI-container, which allows you not to pollute your business logic with decorators from DI/IOC libraries!
9 lines (8 loc) • 338 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.uniqId = void 0;
var uniqId = function () { return 'xxxxxxxxyxxxxxxx'.replace(/[xy]/g, function (symbol) {
var random = Math.random() * 16 | 0;
return (symbol == 'x' ? random : (random & 0x3 | 0x8)).toString(16);
}); };
exports.uniqId = uniqId;