📅  最后修改于: 2022-03-11 15:03:20.877000             🧑  作者: Mango
function name(str,replaceWhat,replaceTo){
var re = new RegExp(replaceWhat, 'g');
return str.replace(re,replaceTo);
}