javascript make random 4 character number 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);