Created
January 14, 2018 00:20
-
-
Save tvler/d72e2073c17d5e9f5a4b791065461598 to your computer and use it in GitHub Desktop.
FormData into URLSearchParams one-liner
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
new URLSearchParams([...new FormData(ev.target)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment