Created
July 19, 2017 14:41
-
-
Save faywong/bc35df9a3fc36701d784b6779be637e4 to your computer and use it in GitHub Desktop.
replace all backslash with slash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
str.replace(/\\/g, '/'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment