can the replace() method be used with an array globally?, my code is something like
words = words.replace(array[0],stringText)
it works just once but i cannot get it to work on the entire paragraph, how can i attach the g to the array[0]?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.