Skip to content

Instantly share code, notes, and snippets.

@KaKi87
Created April 5, 2019 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KaKi87/3730453e24f443349822135af1c8c4d6 to your computer and use it in GitHub Desktop.
Save KaKi87/3730453e24f443349822135af1c8c4d6 to your computer and use it in GitHub Desktop.
The simplest object to querystring JS function ever
const querystring = object => Object.keys(object).map(key => `${key}=${object[key]}`).join('&');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment