悉野小楼

导航

2025年8月6日

手机号脱敏

摘要: 手机号脱敏 function maskPhoneNumber(phone: string): string { return phone.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2'); } //arr.splice(3, 4, '****')​​:从数组的 阅读全文

posted @ 2025-08-06 15:31 悉野 阅读(17) 评论(0) 推荐(0)