variaSTTP

How to generate a random string with Javascript

new Array(43)
  .fill(0)
  .map(() => Math.floor(Math.random() * 36).toString(36))
  .join('')

Where 43 is the length of the string and 36 is the range of characters to choose from ([0-9a-z]).