I am looking for an easy and fast way to replace multiple strings in javascript.

My current approach looks something like this:

```
string.replace(string.replace(searchValue, newValue),newValue)

```

If I have to replace 10 strings in a text then this will be very big. Is there any other approach that can be used for replacing text in javascript?