Skip to content

Instantly share code, notes, and snippets.

@Tocacar
Created April 26, 2019 06:11
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 Tocacar/31b35288d6a0a9838dd9f6a862473ee8 to your computer and use it in GitHub Desktop.
Save Tocacar/31b35288d6a0a9838dd9f6a862473ee8 to your computer and use it in GitHub Desktop.
for (let i = 0; i < people.length; i++) {
console.group('person:' + people[i].name);
console.group('pets');
for (let j = 0; j < people[i].pets.length; j++) {
console.log(people[i].pets[j]);
}
console.groupEnd();
console.groupEnd();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment