18 lines
490 B
JavaScript
18 lines
490 B
JavaScript
s = function (t) {
|
|
var a, i, o = Math.abs(parseInt((new Date).getTime() * Math.random() * 1e4)).toString(), n = 0;
|
|
for (a = 0; a < o.length; a++)
|
|
n += parseInt(o[a]);
|
|
return i = function (t) {
|
|
return function (a, i) {
|
|
return 0 >= i - "" + a.length ? a : (t[i] || (t[i] = Array(i + 1).join(0))) + a
|
|
}
|
|
}([]),
|
|
n += o.length,
|
|
n = i(n, 3 - n.toString().length),
|
|
t.toString() + o + n
|
|
}
|
|
|
|
function get_r() {
|
|
return s(1)
|
|
}
|