Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const numbers=[
- ...Math.random()
- .toString(36)
- .substr(2, 5),
- ];
- numbers.map(element => (Math.random() > 0.5 ? element : element.toUpperCase())).join('');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement