Created
July 17, 2020 19:07
-
-
Save davelnewton/01f24d3037dd69d87fdd7fd44b584bb6 to your computer and use it in GitHub Desktop.
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
for (let i = 0; i < vars.length; i++) { | |
let pair = vars[i].split('=').map(decodeURIComponent) | |
ret[pair[0]] = pair[1] | |
console.log('fromURLQuery', pair) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment