MCPcopy Create free account
hub / github.com/Semporia/Scripts / randomString

Function randomString

jd_goodMorning.js:138–146  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

136}
137
138function randomString(e) {
139 e = e || 32;
140 let t = "abcdefhijkmnprstwxyz2345678",
141 a = t.length,
142 n = "";
143 for (i = 0; i < e; i++)
144 n += t.charAt(Math.floor(Math.random() * a));
145 return n
146}
147
148function Env(t, e) {
149 "undefined" != typeof process && JSON.stringify(process.env).indexOf("GIT_HUB") > -1 && process.exit(0);

Callers 1

jd_goodMorning.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected