JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "random-string.ts"

Full Path: /home/markqprx/iniasli.pro/resources/client/utils/string/random-string.ts
File size: 301 bytes
MIME-type: text/plain
Charset: utf-8

export function randomString(length: number = 36) {
  let random = '';
  const possible =
    'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';

  for (let i = 0; i < length; i += 1) {
    random += possible.charAt(Math.floor(Math.random() * possible.length));
  }

  return random;
}