MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / randomUserName

Function randomUserName

wxapp/niuniuduanju.js:57–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57function randomUserName() {
58 const chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
59 let suffix = "";
60 for (let i = 0; i < 6; i++) suffix += chars[Math.floor(Math.random() * chars.length)];
61 return `用户${suffix}`;
62}
63
64function today() {
65 const d = new Date();

Callers 3

loginByWxCodeMethod · 0.85
updateUserWatchCountMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected