create random key 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: random alphabet javascript
Math.random().toString(36).substr(2, 5);
const string_length = 10
[...Array(string_length)].map(i=>(~~(Math.random()*36)).toString(36)).join('')
Math.random().toString(36).substr(2, 5);