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

Function maskToken

wxapp/yunduodingding.js:53–56  ·  view source on GitHub ↗
(token = "")

Source from the content-addressed store, hash-verified

51}
52
53function maskToken(token = "") {
54 const value = String(token || "");
55 return value ? `${value.slice(0, 6)}***${value.slice(-6)}` : "";
56}
57
58class Task {
59 constructor(openid) {

Callers 1

runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected