会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
火大
大法师打发
博客园
首页
新随笔
联系
管理
订阅
05 2023 档案
js \x 反斜杠x 16进制 编解码
摘要:解码 function decode(str){ return str.replace(/\\x(\w{2})/g,function(_,$1){ return String.fromCharCode(parseInt($1,16)) });} 编码 function encode(str){ re
阅读全文
posted @
2023-05-25 14:42
LaLaLa_heng
阅读(0)
评论(0)
推荐(0)
编辑
公告
点击右上角即可分享