DEV Community

Discussion on: javaScript – Replace all occurrences of a forward slash in a string

Collapse
 
leoloopy profile image
Leo

I saw this exact method used to solve a problem on GitHub but I could not understand the use of forward slash and g. Thanks for this!