Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // creates an array with 1000 items
- // toString(36) converts floating numbers to 0-9 & a-z (I think)
- const arr = [...Array(1000).fill().map(a => a = Math.random().toString(36).substring(7))];
- console.log(arr);
Add Comment
Please, Sign In to add comment