摘要: 方法一、利用数组splice,split,join方法 var tel = 18810399133; tel = "" + tel; var ary = tel.split(""); ary.splice(3,4,"****"); var tel1=ary.join(""); console.log 阅读全文
posted @ 2020-05-12 17:09 SunB 阅读(434) 评论(0) 推荐(0) 编辑