Created
December 16, 2015 12:28
-
-
Save mymtw/50fc02314d90a09e44c4 to your computer and use it in GitHub Desktop.
javascript encode url
This file contains hidden or 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
function decode(value) {return decodeURIComponent(value.replace(/\+/g, " "));} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment