REFACTOR: Remove duplicate random alphanumeric string functions (#2601)

This commit is contained in:
catloversg
2026-03-27 11:49:20 +07:00
committed by GitHub
parent fdd6d65c25
commit 3d5079a4e6
4 changed files with 4 additions and 24 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ export function containsAllStrings(arr: string[]): boolean {
}
// Generates a random alphanumeric string with N characters
export function generateRandomString(n: number): string {
export function getRandomAlphanumericString(n: number): string {
let str = "";
const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";