Skip to content

Instantly share code, notes, and snippets.

@pgainda
Created May 18, 2013 14:10
Show Gist options
  • Save pgainda/5604533 to your computer and use it in GitHub Desktop.
Save pgainda/5604533 to your computer and use it in GitHub Desktop.
var table, rows, i;
table = [
["Person", "Age", "City"],
["Sue", 22, "San Francisco"],
["Joe", 45, "Halifax"]
];
rows = table.length;
for (i = 0; i < rows; i++) {
console.log(table[i].join(" "));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment