MCPcopy Create free account
hub / github.com/6dylan6/jdm / randomString

Function randomString

function/sign_graphics_validate.js:6–12  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

4 language: "zh-CN",
5};
6function randomString(e) {
7 e = e || 32;
8 let t = "abcdef0123456789", a = t.length, n = "";
9 for (i = 0; i < e; i++)
10 n += t.charAt(Math.floor(Math.random() * a));
11 return n
12}
13const screen = {
14 availHeight: 812,
15 availWidth: 375,

Callers 1

Calls 1

randomMethod · 0.45

Tested by

no test coverage detected