📜  如何在javascript代码示例中使用replace方法

📅  最后修改于: 2022-03-11 15:03:23.153000             🧑  作者: Mango

代码示例4
replace(regexp, newSubstr)
replace(regexp, replacerFunction)

replace(substr, newSubstr)
replace(substr, replacerFunction)