| 1 2 3 4 5 6 7 8 9 | 2x 2x 2x 2x 42x 2x | export function readomString(Ilength: number = 32) {
const possibleStr: string = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
const tempStrArr: string[] = [];
for (let i = 0; i < length; i++) {
tempStrArr.push(possibleStr.charAt(Math.floor(Math.random() * length)));
}
return tempStrArr.join('');
}
|