Closed floatdrop closed 10 years ago
Here is snippet, that can generate id's:
var l = 17;
while (true) {
var id = Math.random().toString(36).substr(2);
if (id.length < l) {
console.log(id.length + ': ' + id);
l = id.length;
}
}
I got even id with length '5':
16: bf8d3b86h78vkj4i
14: nc8ah4w2iysyvi
13: 5tkdofn06yldi
12: p0zm3nomvx6r
11: 1dtitn5qaor
8: 65dvlsor
7: 7h3q5mi
6: 63whfr
5: rms4i
Ah, that's embarrassing. We'll fix it.
This one bit me too. Can we get an updated npm package, please? :)
While testing
express
migration I got this error:On second run it disappears - this function should be tested more strictly.