Skip to content

Instantly share code, notes, and snippets.

@danwrong
Created February 3, 2011 07:39
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 danwrong/809176 to your computer and use it in GitHub Desktop.
Save danwrong/809176 to your computer and use it in GitHub Desktop.
var args= "";
for(var i=0;i<argument_pairs.length;i++) {
args+= argument_pairs[i][0];
args+= "="
args+= argument_pairs[i][1];
if( i < argument_pairs.length-1 ) args+= "&";
}
return args;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment