-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
40 lines (37 loc) · 1.01 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
console.log("new Date().getTime().toString(36)");
console.log(new Date().getTime().toString(36));
console.log("\n");
console.log("Math.floor(Math.random() * (999999 - 100000 + 1)) + 100000");
console.log(Math.floor(Math.random() * (999999 - 100000 + 1)) + 100000);
console.log("\n");
console.log(
"(Math.floor(Math.random() * (9999999999 - 1000000000 + 1)) + 1000000000).toString(16)"
);
console.log(
(
Math.floor(Math.random() * (9999999999 - 1000000000 + 1)) + 1000000000
).toString(16)
);
console.log("\n");
console.log(
'parseInt((new Date().toISOString()).slice(0, 10).replace(/-/g, "") + Math.floor(Number((new Date().toISOString()).slice(11, 17).replace(/:/g, ""))) * Math.random(), 10)'
);
console.log(
parseInt(
new Date()
.toISOString()
.slice(0, 10)
.replace(/-/g, "") +
Math.floor(
Number(
new Date()
.toISOString()
.slice(11, 17)
.replace(/:/g, "")
)
) *
Math.random(),
10
)
);
console.log("\n");