Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/smallfawn/QLScriptPublic
/ maskMobile
Function
maskMobile
wxapp/fafa.js:69–71 ·
view source on GitHub ↗
(mobile = "")
Source
from the content-addressed store, hash-verified
67
}
68
69
function
maskMobile(mobile =
""
) {
70
return
String(mobile ||
""
).replace(/^(\d{3})\d{4}(\d{4})$/,
"$1****$2"
);
71
}
72
73
class
Task {
74
constructor(account) {
Callers
1
getUserInfo
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected