mirror of
https://github.com/vastxie/99AI.git
synced 2025-11-13 12:13:43 +08:00
NineAI 2.4.2
This commit is contained in:
9
dist/common/utils/createRandomCode.js
vendored
Normal file
9
dist/common/utils/createRandomCode.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.createRandomCode = void 0;
|
||||
function createRandomCode() {
|
||||
const min = 100000;
|
||||
const max = 999999;
|
||||
return Math.floor(Math.random() * (max - min + 1) + min);
|
||||
}
|
||||
exports.createRandomCode = createRandomCode;
|
||||
Reference in New Issue
Block a user