DEV Community

Raphael Jatobá Passos
Raphael Jatobá Passos

Posted on

.replace (string)

When I use .replace in a string it changes only the first word, not all words, but i can use .replaceAll and change globaly, I also can use //g to apply globaly

Discussion (0)