我正在尝试替换对象属性值中的所有字符实例
我被困在这里。我不知道如何修改该值。
for(let [key, val] in obj){
if(typeof val === "string"){
???? = val.replace(/,/g, '')
}
猛跑小猪
侃侃尔雅
慕容森
相关分类