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

Function maskName

wxapp/iqoo.js:71–74  ·  view source on GitHub ↗
(value = "")

Source from the content-addressed store, hash-verified

69}
70
71function maskName(value = "") {
72 const text = String(value || "");
73 return text.length > 10 ? `${text.slice(0, 4)}***${text.slice(-3)}` : text;
74}
75
76class Task {
77 constructor(env) {

Callers 2

loginByWxCodeMethod · 0.85
userInfoRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected