Guest User

Untitled

a guest
Apr 24th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. var toWWWFormEncoded = (params) => {
  2. var query = "";
  3. for (key in params) {
  4. query += encodeURIComponent(key)+"="+encodeURIComponent(params[key])+"&";
  5. }
  6. return query
  7. }
Add Comment
Please, Sign In to add comment