loading...

re: Randomness with JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I actually use Math.random().toString(36).substr(2) quite often, when I don't want to name things. But when I want to ensure no collision, I gener...
 

Thanks for the input! Updated post to link nanoid.
Yeah, looks like it's published by the same folks and shortId has a dependency on nanoid.

code of conduct - report abuse