mirror of https://github.com/jkjoy/sunpeiwen.git
13 lines
343 B
JavaScript
13 lines
343 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
const alphabet = "abcdefghijklmnopqrstuvwxyz0123456789";
|
||
|
function createBoundary() {
|
||
|
let size = 16;
|
||
|
let res = "";
|
||
|
while (size--) {
|
||
|
res += alphabet[(Math.random() * alphabet.length) << 0];
|
||
|
}
|
||
|
return res;
|
||
|
}
|
||
|
exports.default = createBoundary;
|