MCPcopy Create free account
hub / github.com/Toulu-debug/enen / randomNumString

Function randomNumString

TS_USER_AGENTS.ts:161–167  ·  view source on GitHub ↗
(e: number)

Source from the content-addressed store, hash-verified

159}
160
161function randomNumString(e: number) {
162 e = e || 32
163 let t = '0123456789', a = t.length, n = ""
164 for (let i = 0; i < e; i++)
165 n += t.charAt(Math.floor(Math.random() * a))
166 return n
167}
168
169function randomWord(n: number = 1) {
170 let t = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', a = t.length

Callers 1

jd_bean_box.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected