10 lines
263 B
JavaScript
10 lines
263 B
JavaScript
const alphabet = "abcdefghijklmnopqrstuvwxyz0123456789";
|
|
function createBoundary() {
|
|
let size = 16;
|
|
let res = "";
|
|
while (size--) {
|
|
res += alphabet[(Math.random() * alphabet.length) << 0];
|
|
}
|
|
return res;
|
|
}
|
|
export default createBoundary;
|