removed console.log

This commit is contained in:
PxlLoewe
2025-07-19 16:05:01 -07:00
parent 68e26b18b2
commit 9eaf3a06ed
18 changed files with 37 additions and 80 deletions

View File

@@ -1,14 +1,11 @@
export const generateUUID = (length: number) => {
// Base62-Version (a-z, A-Z, 0-9)
const base62 =
"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
const base62 = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
let string = "";
for (let i = 0; i < length; i++) {
string += base62.charAt(Math.floor(Math.random() * base62.length));
}
console.log(string);
return string;
};