src/lib/utils.js
/**
 * Generates a random 12 character string
 *
 * @return {String} Returns a random 12 character string
 */
Generates a random 12 character string
@return {String} Returns a random 12 character string
Generates a random 12 character string @return { String } Returns a random 12 character string
function randomString() {
  let s = '';
  for (let i = 0; i < 12; i++) {
    const rnum = Math.floor(Math.random() * RANDOM_STRING_CHARS.length);
    s += RANDOM_STRING_CHARS.substring(rnum, rnum + 1);
  }
  return s;
}
function randomString ( ) { let s = '' ; for ( let i = 0 ; i < 12 ; i ++ ) { const rnum = Math . floor ( Math . random ( ) * RANDOM_STRING_CHARS . length ) ; s += RANDOM_STRING_CHARS . substring ( rnum , rnum + 1 ) ; } return s ; }
Generates a random 12 character string
 @return {String} Returns a random 12 character string
Generates a random 12 character string @return { String } Returns a random 12 character string