js字符串替换

在JavaScript中,可以使用 `String prototype replace()` 方法来替换字符串中的特定部分。这是一个基本的使用示例:```javascriptlet st