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

Function maskPhone

wxapp/fej.js:55–57  ·  view source on GitHub ↗
(phone = "")

Source from the content-addressed store, hash-verified

53}
54
55function maskPhone(phone = "") {
56 return String(phone).replace(/^(\d{3})\d{4}(\d{4})$/, "$1****$2");
57}
58
59class Task {
60 constructor(openid) {

Callers 1

loginByWxCodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected