mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-10 09:37:53 +02:00
REFACTOR: Remove duplicate random alphanumeric string functions (#2601)
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user