Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
53
function
maskToken(token =
""
) {
54
const
value = String(token ||
""
);
55
return
value ? `${value.slice(0, 6)}***${value.slice(-6)}` :
""
;
56
}
57
58
class
Task {
59
constructor(openid) {
Callers
1
run
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected