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

Function maskToken

wxapp/wugenvboshi.js:54–57  ·  view source on GitHub ↗
(token = "")

Source from the content-addressed store, hash-verified

52}
53
54function maskToken(token = "") {
55 if (!token) return "";
56 return token.length > 12 ? `${token.slice(0, 6)}***${token.slice(-6)}` : `${token.slice(0, 3)}***`;
57}
58
59class Task {
60 constructor(openid) {

Callers 1

runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected