会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Nyan
博客园
首页
新随笔
管理
2021年4月14日
javascript: 使用指定字符替换明文字符串
摘要: /** * 使用指定字符替换明文字符串 */ export function hiddenStr(str, front, end, hiddenChar = '*') { let len = str.length - front - end; let replaceStr = ''; for(let
阅读全文
posted @ 2021-04-14 13:17 Nyan
阅读(64)
评论(0)
推荐(0)
编辑
公告