Skip to content

Instantly share code, notes, and snippets.

@buzzedword
Created February 8, 2011 17:02
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 buzzedword/816755 to your computer and use it in GitHub Desktop.
Save buzzedword/816755 to your computer and use it in GitHub Desktop.
var obj1index = obj1.length;
for (var obj2index in obj2){
obj1[obj1index] = obj2[obj2index];
obj1index++;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment