Skip to content

Instantly share code, notes, and snippets.

@michaelaguiar
Created September 29, 2011 00:32
Show Gist options
  • Save michaelaguiar/1249697 to your computer and use it in GitHub Desktop.
Save michaelaguiar/1249697 to your computer and use it in GitHub Desktop.
Print Object Contents
function printObject(object) {
var out = '';
for (var index in object) {
out += index + ': ' + object[index] + '\n';
}
print(out);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment