let phone = '12345678901'
return phone.substring(0, 3) + '****' + phone.substring(phone.length - 4, phone.length)
js实现手机号脱敏
最新推荐文章于 2023-11-09 10:29:39 发布
let phone = '12345678901'
return phone.substring(0, 3) + '****' + phone.substring(phone.length - 4, phone.length)