car/test.js

18 lines
490 B
JavaScript
Raw Permalink Normal View History

2023-05-31 10:38:42 +08:00
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)
}