Skip to content

Instantly share code, notes, and snippets.

@ACbosong

ACbosong/.js Secret

Created August 10, 2021 10:28
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 ACbosong/2952d922d39cab4d624e64a28fe06682 to your computer and use it in GitHub Desktop.
Save ACbosong/2952d922d39cab4d624e64a28fe06682 to your computer and use it in GitHub Desktop.
{
let table = [[1,2,3,4,5],
[2,4,6,8,10],
[3,6,9,12,15]];
for(let i = 0; i < table.length; i++) {
let row = table[i];
for(let i = 0; i < row.length; i++) {
console.log(row[i]);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment