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

Function mask

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

Source from the content-addressed store, hash-verified

64}
65
66function mask(value = "") {
67 value = String(value);
68 if (!value) return "";
69 if (value.length <= 12) return `${value.slice(0, 3)}***`;
70 return `${value.slice(0, 6)}***${value.slice(-6)}`;
71}
72
73function clientInfo() {
74 return JSON.stringify({

Callers 2

loginByOperateDataMethod · 0.70
runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected