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

Function maskPhone

wxapp/ytb2_all.js:88–90  ·  view source on GitHub ↗
(phone = "")

Source from the content-addressed store, hash-verified

86}
87
88function maskPhone(phone = "") {
89 return String(phone).replace(/^(\d{3})\d{4}(\d{4})$/, "$1****$2");
90}
91
92function assetValue(memberInfo = {}, keys = [], names = []) {
93 const assets = Array.isArray(memberInfo.assets) ? memberInfo.assets : [];

Callers 2

loginMethod · 0.70
queryAssetsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected