4 ms·
The biggest problem is that they take up a lot of space. Plus you have to find a good library and vet it (there's nothing in the standard library). Or just writ
by mmalone 11y ago
The biggest problem is that they take up a lot of space. Plus you have to find a good library and vet it (there's nothing in the standard library). Or just write 10 lines of straightforward code.
If you go and look at node-uuid commit history it, too, used Math.random() back in the day.