0
点赞
收藏
分享

微信扫一扫

JavaScript处理模糊电话号码

慕犹清 2022-02-28 阅读 34
       let str = "18152616212"
        console.log(str.replace(str.slice(3, 7), "*".repeat(3)))//181***6212
举报

相关推荐

0 条评论