Skip to content

Instantly share code, notes, and snippets.

@sandrabosk
Created June 6, 2020 06:57
Show Gist options
  • Save sandrabosk/c8c893528a413c20a171ef7f07af4e35 to your computer and use it in GitHub Desktop.
Save sandrabosk/c8c893528a413c20a171ef7f07af4e35 to your computer and use it in GitHub Desktop.

Checking for understanding

Given the array of objects, get the following data:

const designers = [
  { name: 'Bob', age: 17 },
  { name: 'Susy', age: 18 },
  { name: 'Ted', age: 28 },
  { name: 'Sarah', age: 25 },
  { name: 'Bill', age: 19 }
];

// 1: name of a designer Bob
//  ... your code here

// 2: Sarah' age
//  ... your code here

// 3: List of all designers' names
//  ... your code here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment