how to create a random string of carachters js code example
Example 1: random string js
const string_length = 10
[...Array(string_length)].map(i=>(~~(Math.random()*36)).toString(36)).join('')
Example 2: how to generate random string in javascript
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);